email address
필드와 confirm email address
필드를 가지고 있기 때문에 양식에 다음 유효성 검사를 사용하고 있습니다.이 두 필드가 일치하는지 확인하려면 몇 가지 유효성 검사가 필요합니다. 현재 다음을 제공합니다. 나도 그것이 할 때조차도 일치하지 않는다는 오류 메시지를, 누군가는 왜 그런지 알 수 있습니까?JQuery (전자 메일 일치)를 사용하여 전자 메일 유효성 검사
rules: {
'entry[email]': {
required: true,
email: true
},
'entry[confirm_email]': {
// required: true,
equalTo: "entry[email]"
},
},
messages: {
'entry[email]': {
required: ' Please enter a valid email address',
minlength: 'Not a valid email address'
},
'entry[confirm_email]': {
required: ' Please make sure email matches above',
minlength: 'Does not match above email address'
},
}
무엇이 오류입니까 ?? –
내 이메일이 정확하게 일치하더라도 내게 그들이하지 않는 메시지를 전합니다 –
jsfiddle을 만드십시오. –