Jump to content

Recommended Posts

I don’t know if this is possible, but if anyone has any experience or can point me in the right direction I would be grateful.

 

I have a form that when I start to fill in the first field I would like it to come up with a list of possibilities from a database, when the right one is selected it fills in the other fields in the table.

 

Again any light shed upon this would be excellent

 

Link to comment
https://forums.phpfreaks.com/topic/77048-mysql/
Share on other sites

Using Java script this would be possible.  Your form code would grow exponentially depending on what data you want to auto fill.  Basically using javascript events like onchange for IE and onclick for Moz+misc you can have a javascript grab the user selection and then do comparisons against that and then structure your form accordingly. 

Link to comment
https://forums.phpfreaks.com/topic/77048-mysql/#findComment-390267
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.