In this example, we are going to validate the name and password.
This has to be the most common type of form validation.
You want to be sure that your visitors enter data into the HTML fields you have "required" for a valid submission.
As I am not fluent in every locale on the planet, please feel free to create locale files of your own by submitting a pull request.
Don't forget to create both the locale file (example: locales/fr.js) and the locale test (example: tests/locales/fr.js). Adding your own custom formats is as easy as adding a locale.