Open BasketRex opened 8 years ago
i know this is old but its not smart to have the validation via javascript. Some users might block javascript. It's better to use server side php
I see, but it's not user-friendly to have validation on the backend only, It's annoying if you forgot to fill in a form field and submit and you have to renter all again. A combination of both is a good option.
I have included an email JavaScript validation to the registration, Since the login uses email and the whole tutorial it makes sense to have an email validator so that only email address can be registered.