Validating web form controls using dhtml

Since forms are an integral part of dynamic, data-driven Web sites, it is essential that a user's query into a form fit the specified guidelines.

For example, in a Web site like where users are entering shipping and billing information, it is vital that the user enter credit card numbers, zip codes, email addresses, and other information in an acceptable format.

validating web form controls using dhtml-62

To do this, we must write a server-side validation event handler that will be responsible for performing the three steps above for our Custom Validator control.In addition to the standard form elements supported by dhtmlx Form, you can also create and use your own custom controls.The component provides a flexible Java Script form elements on the fly, to process events, and to validate input data.Selection controls allow the user to select one or more values from a list. They include both the Check Box and Radio Button controls, which are designed to work in a group.

Leave a Reply