验证表单
验证
重置
Input [type=text]
必填项
*
type=email
type=email required
*
type=url
type=url required
*
type=number
type=number required
*
type=digits
type=digits required
*
min=5
min=5 max=10
max=10
max=10 required
*
验证
重置
Input [type=password]
repeat
必填项
*
repeat required
*
min=5
repeat min=5
*
min=5 max=10
repeat min=5 max=10
*
max=10
repeat max=10
*
max=10 required
*
repeat max=10 required
*
验证
重置
Input [type=radio]
必填项
1
2
3
required on all
1
2
3
Input [type=checkbox]
no validation
required
Select
no value
Value 1
Value 2
必填项
no value
Value 1
Value 2
验证
重置
Textarea
必填项
min=5
min=5 max=10
max=10
max=10 required *