Very helpful. Thank you; I was going to try to rewrite things on the backend because I had forgotten to use validation on some forms for writing to a database (nothing heavy like password or email - just product info; for a personal portfolio project), but then I thought, " why not do it on the frontend?; This was not as difficult as I thought it would be thanks to your explanation. 👍
Assalmau alykum wa rahmtullahi wa barkatuh bhai Masha allahu la quwwata illa billah. Alhumdulillah allah ta'ala ne aapko accha ilm diya hai Alhumdulillah
i have a question , when you have a admin dashboard , the person the administrator can have access to the dashboard through the login form? or you have to make another form for that?
Very helpful. Thank you; I was going to try to rewrite things on the backend because I had forgotten to use validation on some forms for writing to a database (nothing heavy like password or email - just product info; for a personal portfolio project), but then I thought, " why not do it on the frontend?; This was not as difficult as I thought it would be thanks to your explanation. 👍
This was incredibly helpful, thank you! I'm new to React and have just jumped into making forms.
Very nice explanation sir. Thank you.
Assalmau alykum wa rahmtullahi wa barkatuh bhai Masha allahu la quwwata illa billah. Alhumdulillah allah ta'ala ne aapko accha ilm diya hai Alhumdulillah
thanks yusuf
Thanks 😊
i have a question , when you have a admin dashboard , the person the administrator can have access to the dashboard through the login form? or you have to make another form for that?
❤
how did the error messages in span turn red
Add CSS or use Bootstrap
also how can i empty the fields after submitting automatically?
use useRef hook.
U can set all fields to( " ") like this Also it will reset without using useref
what if i had only one form field (just an email) can i remove the handleChange function or make it different?
onChange={(e)=>setEmail(e.target.value)}