How do i create textboxes just like those textboxes you see ......[RESOLVED]
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:
Re: How do i create textboxes just like those textboxes you see when you enter CDKEY
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
Re: How do i create textboxes just like those textboxes you see when you enter CDKEY
Quote:
Originally Posted by Magiaus
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.