logo

New Response

« Return to the main article

You are replying to:

  1. I need to compare two email address fields to ensure that the user entered the correct email address. I am using the following option:

    {name: "EmailAddress", test: function(fld) { return !(document._Registration.EmailAddress1 == fld.value) }, message: "Email Addresses do NOT match."}

    However, I am receiving JavaScript errors (line 77 in the validation.js and also on the above function, it does not like the fld.value. Do you have any suggestions on how I might be able to compare to field values on the same form? Thank you for any assistance.

    By the way GREAT solution for Notes form validation.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: