update
This commit is contained in:
24
Static/script/validate/validate.remindPassword.js
Normal file
24
Static/script/validate/validate.remindPassword.js
Normal file
@@ -0,0 +1,24 @@
|
||||
$().ready(function(){
|
||||
$('#remindPassword').validate({
|
||||
rules: {
|
||||
confirm_email : {
|
||||
required: true,
|
||||
email: true,
|
||||
remote: mainUrl + "check/email/new/password.html"
|
||||
}
|
||||
|
||||
},
|
||||
messages: {
|
||||
confirm_email: {
|
||||
required: translate('required_email'),
|
||||
email: translate('invalid_email'),
|
||||
remote: translate('invalid_email')
|
||||
}
|
||||
},
|
||||
errorElement: "p",
|
||||
errorClass: "warning"
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user