Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Autotab between fields
Message
 
 
À
14/10/2003 09:13:33
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00838492
Message ID:
00838526
Vues:
14
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform