Example of Default Functionalities in Javascript (ES5) Form Validation Control

/
/
Default Functionalities

This sample is used to validate form using the obtrusive Validation. Type the values in input element and click the Add Customer to validate the form element. Clear the input values by the using Clear button.

More Details...

Add Customer Details
Description

In Obtrusive validation, rules can be customized from the JavaScript instead of defining the rules from html. Field Rule Example Required The field must have any value value Email The input must have email format ej2@syncfusion.com Date ISO The input must have date ISO format 1995-03-31 Enter the above values in the corresponding input elements and click the Add Customer button to validate the form. The clear button can wipe out all the input values in the form.