Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Autotab between fields
Message
From
14/10/2003 10:17:57
 
 
To
14/10/2003 09:13:33
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00838492
Message ID:
00838526
Views:
13
Hi!

You can do this only by client-side scripting.

Try to put following attribute in the first text box:
onkeypress="if (this.value.length==10) {TextBox2.focus();}"

and following attribute in the second text box:
id="TextBox2"

"10" above is max length of value.

>All,
>
>I have created an ASCX to enter a SSN consisting of 3 textboxes with dashes between them. I am looking for a way to automatically tab between the textboxes when the textbox maxlength is reached.
>
>Thanks
>
>Rex
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform