filmov
tv
Material UI React & React Hooks MultiStep Form With Validation Part#2

Показать описание
Coupon for the course $12.99, Get for the lowest price!
Expires 04/15/2021 10:00 AM PDT (GMT -8)
coupon: 5588631EC797969FE4D9
Material UI React Multistep Form. Welcome guys in this project we'll gonna build with validation for names, email, password fields, and we'll gonna add a field to choose the phone format, which contains almost all the countries. If you never used localStorage and curious about how to use it, so in this project I'll show you how to store data in localStorage. So if you find this content helpful then don't forget - Like, Share with your friend and Subscribe!!! That supports the channel a lot!!!
Particularly in this video we'll gonna create the validation functionality for our form.
Files for validation:
firstname regex: /^([A-Za-z][A-Za-z'-])+([A-Za-z][A-Za-z'-]+)*/
lastname regex: /^([A-Za-z][A-Za-z'-])+([A-Za-z][A-Za-z'-])+([A-Za-z][A-Za-z'-])*/
email regex: /^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/
password regex: /^(?=.*[A-Za-z])(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{6,}$/
// ******** Follow me on social media *************** //
Expires 04/15/2021 10:00 AM PDT (GMT -8)
coupon: 5588631EC797969FE4D9
Material UI React Multistep Form. Welcome guys in this project we'll gonna build with validation for names, email, password fields, and we'll gonna add a field to choose the phone format, which contains almost all the countries. If you never used localStorage and curious about how to use it, so in this project I'll show you how to store data in localStorage. So if you find this content helpful then don't forget - Like, Share with your friend and Subscribe!!! That supports the channel a lot!!!
Particularly in this video we'll gonna create the validation functionality for our form.
Files for validation:
firstname regex: /^([A-Za-z][A-Za-z'-])+([A-Za-z][A-Za-z'-]+)*/
lastname regex: /^([A-Za-z][A-Za-z'-])+([A-Za-z][A-Za-z'-])+([A-Za-z][A-Za-z'-])*/
email regex: /^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/
password regex: /^(?=.*[A-Za-z])(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{6,}$/
// ******** Follow me on social media *************** //
Комментарии