AJAX validation Example
1.Use AJAX validation, and AJAX request (ajaxAfterValidation="true"), if validation succeeds
Response goes here
You must enter a name
Name:
Only people ages 13 to 19 may take this quiz
Age:
Favorite color:
Submit Form with a link
Submit Form listening to an event on an element (check to submit)
2.Use AJAX validation, and regular request (ajaxAfterValidation="false", default), if validation succeeds
You must enter a name
Name:
Only people ages 13 to 19 may take this quiz
Age:
Favorite color:
Submit Form with a link
Submit Form listening to an event on an element (check to submit)
Back To Validation Examples