Download
Back To CSS Script
Pristine HTML5 Form Validator Example
required
minlength=5, but not required
type=email, not required
number, not required
number, min=100, not required
number, min=100, required
required
-----
Bangladesh
USA
Canada
required, min=2
Dhaka
Sylhet
Khulna
pattern=/^\d+\.\d{2}$/ (match decimal with 2 points), required
above field with custom message