You are viewing this page out of context. To see it in the context it is intended please click here.
About This Page
Reply posted by Jill Wilson on Tue 19 Jun 2007 in response to Form Validator R3.0
Comparing email Addresses
I need to compare two email address fields to ensure that the user entered thecorrect 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.