TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Input box......auto tab ?

Page: 1 Reply
Aug 7th 2001#12052 Report
Member since: Mar 18th 2001
Posts: 1452
Not sure what to call it, but I see it on some sites. Tried to find one that did it to get the code, but can't find one right now.

When filling out some online forms, say if it has an area to put in your area code and phone number, with an input box for your area code, another input box for the first 3 digits in your number, and another box for the last 4 digits, when you fill in your area code, it will automatically jump to the next box, instead of having to tab or click inside it, is this javascript?

I'd figure in my head something like, if maxlength=3, text2.focus, or something.
Reply with Quote Reply
Aug 8th 2001#12087 Report
Member since: Jun 30th 2001
Posts: 447
A quick search on MSN for "JavaScript auto tab" turned up this, which is exactly what you want.

http://javascript.internet.com/forms/auto-tab.html
Reply with Quote Reply
Aug 8th 2001#12101 Report
Member since: Mar 18th 2001
Posts: 1452
Thanks Andrew, thats exactly it. I usually always search first, but I didnt know what I was looking for. :D

Guess what I called it was right, lol.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum