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

preview_player
Показать описание
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 *************** //

Рекомендации по теме
Комментарии
Автор

Great Job. Would love to have the completing part of the tutorial, thanks man.

NgbedeBarnabasMichael
Автор

I was struggling with form validations. Thanks for the video

kanishkamallawarachchi
Автор

Hi. nice video. But how to clear input values after click?

sebastianjuszczynski
Автор

we are waiting for the others videos left to complete the form

juniorsemerzier
Автор

it has been a year, where is the part 3 for select one. Thank for video anyway

uliahshafar
Автор

Brother validations not working please share the code

sohailmansuri
visit shbcf.ru