One of the features of HTML5 is the ability to validate most user data without relying on scripts.
This is done using validation attributes on form elements.
For server side validations, we will use the PHP form validation script Now we have to handle the form data that is submitted.
Here is the sequence (see the file fg_in the downloaded source): First, we validate the form submission.
This API consists of a set of methods and properties available on each form element.