Evaluate form | Build a prompt on a div | Close all prompts | Back to index

This demonstration shows the different validators available

Required Field is required : Favorite sport 1:
Favorite sport 2:
validate[required]
Custom Comes with many predifined regex (phone, url, ip, email..etc) [DEMO]
Enter a URL :
validate[required,custom[url]]
Equals Password : Confirm password :
validate[required,equals[password]]
Function Write 'HELLO' :
validate[required,funcCall[checkHELLO]]
MinSize Minimum field size
validate[required,minSize[6]]
MaxSize Maximum field size
validate[required,maxSize[6]]
Min integer >= -5
validate[required,custom[integer],min[-5]]
Max integer ,50]
validate[required,custom[integer],max[50]]
Past Checks that the value is a date in the past
Please enter a date ealier than 2010/01/01
validate[custom[date],past[2010/01/01]]
Future Checks that the value is a date in the future
Please enter a date older than today's date
validate[custom[date],future[NOW]]
Checkbox Check this [DEMO]
Ajax Check this [DEMO]