Hi,
I am trying to work the email validation but I can't seem to get it right.
This is what I did:
the names of the two fields are: text_email and text_email_confirm. I went to the validate tab and checked 'yes'; I went to the box '13 - validate confirm' and input the two names above i.e. text_email=text_email_confirm.
and this is the code under the form javascript:
Any help would be appreciated
I am trying to work the email validation but I can't seem to get it right.
This is what I did:
the names of the two fields are: text_email and text_email_confirm. I went to the validate tab and checked 'yes'; I went to the box '13 - validate confirm' and input the two names above i.e. text_email=text_email_confirm.
and this is the code under the form javascript:
window.addEvent('domready', function() {
var email_confirm_lv = new LiveValidation('text_email_confirm', {
validMessage: "I am valid!"
});
email_confirm_lv.add(Validate.Confirmation, {
match: 'text_email',
failureMessage: "Your Email confirmation does not match your Email."
});
});
Any help would be appreciated