|
-
Jun 27th, 2005, 10:02 PM
#1
Thread Starter
Frenzied Member
Validator Postback
I have 2 text boxes (username and password) on a login form each associated with a required field validator. I also have a custom validator control which I call the ServerValidate event to authenticate.
My problem is that the form does not post back to the server until both of the required field validators are valid. Even if I put JavaScript into my HTML to set the focus to the username or password field, it does not execute unless the form is posted back.
eg.If the user enters a username but no password, the focus is not set to the password text box as the password required field validator blocks post back.
How can I force the form to post back each time a validator executes? I have set runat="Server".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|