DjValidator catalog
Clean form validation messages.
Text inputs
Text (text)
Word (word)
Alphabetic text (atext)
Alphabetic and numeric text (antext)
验证
Numeric inputs
Digits (dig)
Integer (int)
Real (num)
验证
Common validators
Email (email)
Url (url)
IP (ip)
Phone number (phone)
验证
file validators
File (file)
file,2,4,10,100,image/jpeg|image/png|image/bmp
File extension (efile)
efile,jpg|jpeg|png|bmp
验证
Select field
Select Multiple (multi)
Option one
Option two
Option tree
Option four
Option five
Option six
from 2 to 4 options
验证
Radios and checkboxes
Radio required
Option one
Option two
Option tree
Checkbox
Check this
Checkbox group
option 1
option 2
option 3
验证
Related fields
Equal input a
Equal input b (equal)
Not equal input c
Not equal input d (nequal)
optional input e
optional input f (or)
验证
Custom validations
Regular expression (regexp)
vocal only
Custom function (call)
function for validate: isUpperCase
New dj-validator added (custom)
dj-validator added with key: "even,[max]"
验证
Combined validators
Alphabetic text without spaces
Upper case alphabetical text
验证