Client side validation (with JavaScript)

This sample shows how form data can be checked locally in the browser without server. Form will pass validation only if all inputs have valid values.

* - fields required to pass validation test
This field should not be empty!
This field should not be empty!
Should be valid Email address!
You entered invalid value!
You entered invalid value!
Should be checked!
Choose planet you wish to visit*
Should be selected!
Should be selected!