PDA

Click to See Complete Forum and Search --> : How do i create textboxes just like those textboxes you see ......[RESOLVED]


aspfan
Mar 22nd, 2005, 07:48 AM
Hi guys, its me again :)

My question is:

I want to create textboxes. The format is as follow:
txtbox - txtbox

As you can see, there are 2 txtbox.
*It accepts any character which is numeric or alphanumeric.
*I require it to be uppercase as soon as something is typed in it.
*The textbox need to auto jump to the next textbox when the first textbox reach its character limit.

I believe some one might have already thought of this idea.
Would you guys give me some tips?

Thanks
:wave:

Magiaus
Mar 22nd, 2005, 09:59 AM
you need to do onKeyPress="myCodeProc()"

in there you can check your input force uppercase and then when they press key for final char in that box change focus. there may be an onTextChange but I like on keypress because if they punch in a bad char you can just return false and it doesn't go in the box

aspfan
Mar 23rd, 2005, 02:13 AM
you need to do onKeyPress="myCodeProc()"

in there you can check your input force uppercase and then when they press key for final char in that box change focus. there may be an onTextChange but I like on keypress because if they punch in a bad char you can just return false and it doesn't go in the box
wow. thanks man. that rings a bell! :)
I'll give it a shot.