General information
Title:
RequiredFieldValidator and Textmode=Password
Hi All,
In an ASP.NET form I have a textbox for the user to enter a password. I populate this with an existing value from the DB.
The textbox has an associated RequiredFieldValidator. This works fine with the TextBox.TextMode set to 'SingleLine' but if I change it to 'Password' the RequiredFieldValidator kicks in when the page is submitted and complains that the textbox is empty. This happens when I submit the page without editing the textbox - if I enter text it's OK.
Any clues ?
Regards,
Viv
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only