Hello,
I have a form where users select various parameters from drop down boxes to query and then get to to see the results for the their selection.
The pulldowns are populated via some constructed SQL pulling data out of a PostgreSQL database.
I would like to make the pulldowns 'interconnected' as it were - but wanted some online reading matter to help me poke at this and was hoping someone had a online tutorial they could point me at...
For instance, if they select a particular mine site (or whatever), only boreholes in the database drilled at that mine site will be then be available in the pulldowns for the boreholes.
I can get my head OK around the logic, but am having trouble with the technical steps needed - hence the needed for a "cheat" as it were - and Google has not been my friend here, if you will excuse the cliché...
I assume it would be a matter of using an 'onchange' for the <select> to trigger an adjustment of the relevant WHERE clauses of the SQL statements for other relevant pulldowns and then refresh (?) the page??
Any help in pointing me to a URL would be much appreciated!
Regards,
GREG...