Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validator Control Question

Status
Not open for further replies.

gagz

Programmer
Nov 21, 2002
333
US
Hi-

I have two password textboxes on a registration page. I have my compare validator check that they have entered the pw the same twice. what I want to do is have that validator control blank out the password boxes, or be able to trigger somethign to do it... any ideas? i've yet to find something on it.

THANKS.
 
I don't understand what you mean by blank out the passwords That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
example:
visually the password box has "*****"
and the confirm box has "******"

after the form is submitted, and the compare validators finds that they are not equal, i want pwTextBox.Text = ""

Problem is I don't know how to trigger it using the built in validators.
 
Not sure how this works either. A workaround to this problem is to disable client side validation on that page. A post back clears a password box automatically.

Sorry I could be much help That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top