Disable CompareValidator [modified]
-
I have Password and Re-type Password fields. If the user inputs a password that is less than 6 characters, the user is prompted with a RegExValidator "Minimum of 6 characters." And if the user inputs a password in Re-Type password that DOESN'T MATCH WITH INVALID PASSWORD, the user is prompted with a CompareValidator "Passwords don't match." Can I disable the "Passwords don't match" comparevalidator and only prompt it if the user has already ENTERED A VALID PASSWORD in Password field? Thank you. -- modified at 9:45 Thursday 25th October, 2007
Gerri
-
I have Password and Re-type Password fields. If the user inputs a password that is less than 6 characters, the user is prompted with a RegExValidator "Minimum of 6 characters." And if the user inputs a password in Re-Type password that DOESN'T MATCH WITH INVALID PASSWORD, the user is prompted with a CompareValidator "Passwords don't match." Can I disable the "Passwords don't match" comparevalidator and only prompt it if the user has already ENTERED A VALID PASSWORD in Password field? Thank you. -- modified at 9:45 Thursday 25th October, 2007
Gerri
I'm not sure what is wrong with your current setup. If the user inputs different values in the 2 password input boxes, surely it is correct to notify them that the passwords don't match? This logic still applies if the user enters an invalid password in the first box and a valid password in the second box. The passwords don't match, so it is OK to flag this up.
Paul Marfleet
-
I'm not sure what is wrong with your current setup. If the user inputs different values in the 2 password input boxes, surely it is correct to notify them that the passwords don't match? This logic still applies if the user enters an invalid password in the first box and a valid password in the second box. The passwords don't match, so it is OK to flag this up.
Paul Marfleet