React Native Login validation for email format and password regex

preview_player
Показать описание
This is basic validation for React Native before user hit button login, need to check email format and password format.

If you have any question, feel free to ask me on :
- Instagram : charismaaji

Thank you!

#reactnative #javascript #validation #regex #login
Рекомендации по теме
Комментарии
Автор

Nice vid, I would just add this to the checkpasswordvalidity
if (password.trim() === '') {
return 'Password must have characters'
}
it checks if the field is empty :)
hope it helps

knckout
Автор

Can u please using API for login.
Thanks

basharatmir
Автор

thank youuu, you have new follow men

nicolasgoncalves
Автор

i want check validation and regEx only after pressing submit button not during typing inputs, how to do so ?

raihanfirdaus