标签:use ext trap 表单 validator sage 属性 hold input
<div class="form-group">
<div class="col-md-6 col-md-offset-3">
<input type="text" class="form-control" placeholder="用户名" name="userRegisterInfo.username" value="" id="username" />
</div>
</div>
验证上面的表单
"userRegisterInfo.username": {
message: ‘The username is not valid‘,
validators: {
notEmpty: {},
stringLength: {
min: 6,
max: 20
}
}
bootstrapvalidator中name属性带点怎么解决
标签:use ext trap 表单 validator sage 属性 hold input
原文地址:http://www.cnblogs.com/liuranjsj/p/6884625.html