3145reads

Php/Javascript Select box auto fill formview story

Hi All, im new here and also fairly new to php. i am trying to create a form that has multiple fields being: Select box 3 Textfields the select box is a list of suppliers and the text fields are Contact(persons name), Telephone number, Email. When the user selects a value from the select box the 3 text fields are filled in with the matching contact details(fetched from a database). The text fields need to remain editable incase a phone number/point of contact has changed. I have the select box fetching suppliers and supplier ID with the following. P

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.
CAPTCHA
Human?
Image CAPTCHA
Enter the characters shown in the image.