Jump to content

Fill form out based on drop down selection


edgarasm

Recommended Posts

Hello 

 

I was wondering how could i autofill a form based on a drop down list using raw php and mysql .

I know that the connection to database would have to be established but what next ?

Any Pointers would be helpful :) 

 

Also check the attached photo to maybe understand more than I'm explaining 

post-166214-0-97648200-1385468667_thumb.png

If you don't want the page to reload, you'll need to use something like JavaScript to populate the fields based on a drop-down selection. If you need to pull information from a database, you could use AJAX to connect with a PHP script. Or you could look into pre-loading the information into JavaScript.

 

What in the form are you trying to auto fill?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.