Abide

Abide is an HTML5 form validation library that supports the native API by using patterns and required attributes.

Fieldset
Passwords must be at least 8 characters with 1 capital letter, 1 number, and one special character.
Please enter a properly formatted telephone number.
Valid email required.
Valid URL required.
Broke.



Predefined patterns

For the full documentation visit Foundation's Abide Page.

Abide has several patterns common validation patterns built into the library:

Name Valid Example or Format
alpha Foundation
alpha_numeric A1 Sauce
integer -1
number 2937
password LittleW0men.
card visa, amex, mastercard
cvv 384 or 3284
email foundation@zurb.com
url http://zurb.com
domain zurb.com
datetime YYYY-MM-DDThh:mm:ssTZD
date YYYY-MM-DD
time HH:MM:SS
dateISO not sure yet
month_day_year MM/DD/YYYY
color #FFF or #FFFFFF