Validating form fields with ajax 15 year old dating 10 year old
This is achieved by grouping together validation functions in "modules", making it possible to load only those functions that's needed to validate a particular form.
The If wanting to use a custom method that handles the displaying/removing of error messages you should use the two methods described above.
Only the first checkbox element in the group needs to have the validation attributes added.
When using these kind of components, the form fields are split into multiple regions which there is only active, visible one at any time.
By default, the invisible fields belonging to inactive regions will be ignored by Form Validation, we need to set . In order to validate particular region, we can use validate Container(container) method.
General questions about form scripts here should be posted to The Java Script Forum.