Dynamic Display Text on Drop Down Selection
Posted on 2010-08-14
A little background: I am using Dreamweaver and PHP MySQL to build a PHP appointment request form.
I am using Webassist's Dynamic Drop Downs extension to sort out the drop downs but would like an additional bit of functionality. Here is the basic set up, Choose Surgery, Choose Date, Choose Practitioner - Send (which uses POST to send to a contact.php form to validate then email). All these will be dynamically filled from the database (not finished yet).
What I would like is that on the second drop down, after Surgery and Date are known, to populate a small table on screen to highlight the surgery times and availability for that day.
The availability data is all ready on the database - it is just a case of writing the write query and loading it dynamically.
Any advice appreciated.