close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Autocomplete fields based on Select value?

Thread began 4/26/2012 8:08 am by gary.brett434358 | Last modified 4/27/2012 11:09 am by gary.brett434358 | 2352 views | 12 replies


Autocomplete fields based on Select value?

Hi there, using DA I have insert forms to add contacts & orders to my database. On insert_orders.php I have a select field where I can choose a contact to bind to the new case which works well.

Is it possible once the contact is selected multiple other fields could be hidden as they already exist in database; address, postcode, telephone etc?

I am trying to do away with insert_contact.php, allowing users to either select existing contact or create a new one & bind to case within one form.


If contact exists then -
SelectFld1 - Search for existing client and hide other contact related fields on form

If contact doesn't exist then -
InputFld1 - Contactname [autofill or manual]
InputFld2 - ContactPhone [autofill or manual]
InputFld3 - ContactPostCode [autofill or manual]
InputFld4 - ContactAddress1 [autofill or manual]
InputFld5 - ContactAddress2 [autofill or manual]

I am sure its not the right way but could I perhaps use SA 'show region' saying if SelectFld1= NULL then show InputFld1, InputFld3 , InputFld3 etc etc

Kind regards for your help once more.


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...