Form automatic tab

P

Paul C

Hi
You are better to start over with the form copy and paste the code where you
want the form in the body change the input name to your field name for eg

<input type="text" name="first" size=4 onKeyup="autotab(this,
document.sampleform.second)" maxlength=3>

to
<input type="text" name="email" size=4 onKeyup="autotab(this,
document.sampleform.address)" maxlength=3>

each of the input fields points to the next so it would look like this if
you wantes to have the address field after the email field
<input type="text" name="email" size=4 onKeyup="autotab(this,
document.sampleform.address)" maxlength=3>
<input type="text" name="address" size=4 onKeyup="autotab(this,
document.sampleform.address)" maxlength=3>
the last field does not have the key up because there is no other field
after remember sampleform is the name of the form so if yours is defferent
you will have to change the line
(this, document.sampleform.address)to (this, document.yourformname.address)
Paul M
 
B

Bob Lehmann

when you enter the area code the curser automatically tabs to the next
field

Unless this for mega-data entry personell, I find this to be one of the most
irritating, confusing, non-usable stupid tricks people "enhance" their forms
with.

Even you use the word "curser" instead of "cursor". Freudian slip perhaps?

Bob Lehmann
 
P

Paul C

Hi Regina
Evereything looks ok to me. Baybe you have fixed the problem by the time I
got here
Best wishes
Paul M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top