Start Validating form javascript

Validating form javascript

If the entered data follows all those rules, it is considered valid; if not, it is considered invalid.