Jquery 引导验证程序电子邮件notempty
我有以下意见:Jquery 引导验证程序电子邮件notempty,jquery,bootstrapvalidator,Jquery,Bootstrapvalidator,我有以下意见: <input type="text" name="email" size="40" class="wpcf7-form-control wpcf7-text form-control input-lg" id="email" aria-required="true" aria-invalid="false" required placeholder="E-mail (obligatoriu)"> 希望这有帮助 $document.readyfunction{ $'
<input type="text" name="email" size="40" class="wpcf7-form-control wpcf7-text form-control input-lg" id="email" aria-required="true" aria-invalid="false" required placeholder="E-mail (obligatoriu)">
希望这有帮助
$document.readyfunction{
$'cereForm'.bootstrapValidator{
消息:“此值无效”,
反馈图标:{
有效:“glyphicon glyphicon ok”,
无效:“glyphicon glyphicon删除”,
正在验证:“glyphicon glyphicon刷新”
},
字段:{
nume:{
验证器:{
注意:{
信息:“Numele este联合国营地义务人”
}
}
},
电邮:{
验证器:{
注意:{
消息:“电子邮件地址是必需的”
},
电子邮件地址:{
消息:“输入不是有效的电子邮件地址”
}
}
},
电话:{
验证器:{
电话:{
国家:'RO',
信息:'Acest numar de telefon nu este corect'
}
}
},
梅萨伊:{
验证器:{
注意:{
消息:“内容是必需的,不能为空”
},
弦长:{
最高:500,
信息:“Mesajul este prea lung”
}
}
},
}
};
};
德拉:
帕纳拉:
你能发布到目前为止你所写的全部HTML/JS或者任何JSFIDLE吗?JSFIDLE会很有帮助。所以问题是我使用的函数。谢谢:D
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.3/js/bootstrapValidator.min.js"> </script>
email: {
validators: {
notEmpty: {
message: 'Adresa de email este un camp obligatoriu'
},
emailAddress: {
message: 'Adresa de email nu este corecta'
}
}
},