471,075 Members | 762 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

set focus on textbox if regularexpression validator fired

hi all,
I have a problem.Suppose I use a regularexpression validator for zip code. An User fill wrong entry in the relevant textbox then regularexpression validator fires.but user did not correct the entry and press the signup button . At that time i want setfocus on that zip textbox.
all such things happen in asp.net and i want javascript for the setfocus.
Mar 17 '07 #1
1 1921
4,871 Expert 4TB
Here is an article that may help:
Combine RegularExpression Validation Control with RequiredField Validation Control
Mar 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Miquel | last post: by
5 posts views Thread by orahm | last post: by
4 posts views Thread by Tim Meagher | last post: by
7 posts views Thread by saurabh | last post: by
5 posts views Thread by Finn Stampe Mikkelsen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.