PDA

View Full Version : Autofilling textfields in form when selecting an option from drop down



miradoro
10-05-2007, 12:51 PM
Hi,

i would like to have a drop down with options: Steven, Juan, Carlos.

when Steven is selected the textfields below will autofill with his info
the text fields are:

name:
adresss:
phone:

it will do the same for juan or carlos

can you guys help to figure this out?:confused:
thanks a lot

djr33
10-05-2007, 09:29 PM
This is not a php question.

You'll need to use Javascript.

This will be useful: http://www.dynamicdrive.com/forums/showthread.php?t=25284