I received help on the first part of my problem here whoever I forgot to mention my second issue. After a user selects a value from the autocomplete field I would like to populate the vaules ID into a hidden field so it can be passed to PHP and inserted into a database.
Here is a breakdown of what I am trying to accomplish:
- User selects venue from autocomplete field.
- After the venue has been selected, the venues phone, address and website are display under the autocomplete field. The ID of the record in the database is passed to a hidden field as its value.
I have search but found nothing. Can someone lead me in the right direction?
Thanks