Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

autofill form fields

Status
Not open for further replies.

andnos

Technical User
Nov 21, 2005
48
US
I have form fields that are the same, with the same name/id, let's say that I have ten such fields.

name: id=name
name: id=name
name: id=name
name: id=name
name: id=name
name: id=name
name: id=name
name: id=name
name: id=name

and so forth,

would I would like to do, is if the first "name" field is entered, the other fields are automatically filled with the same data, and so forth, and this would prefereable go down the form, so if the fourth "name" field is changed from the ones above it, the field below it change to whatever the fourth field was changed to, but not the fields above the fourth field.

Any help appreciated.

 
Show us what you've tried so far.

-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson

[small]<P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B>[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top