Return true or false without binding anything | Build a prompt on a div | Load validation date | Close all prompt | Back to index

Please run this demo from a WebServer (ie. http://localhost:9173/demoAjax.html after running the demo server), it will fail if you double click demoAjax.html -> It needs a server.

This demonstrations shows the use of Ajax form and field validations.
The form validation implements callback hooks, so please check the javascript console

Ajax validation
Desired username (ajax validation, only karnius is available) :

validate[required,custom[noSpecialCaracters],maxSize[20],ajax[ajaxUserCall]]

First name (ajax validation, only duncan is available):

validate[custom[onlyLetterSp],length[0,100],ajax[ajaxNameCall]]

Email address :

validate[required,custom[email]]