I have a page that currently works just fine -- but what I would like to do is improve the 'ease of use' factor...
The page (TEAM_Request_Select.php) consists of the following sections:
- filters -- form with several drop-down boxes and "submit" button
<form method="POST" name="TEAM_RequestFilters" action="TEAM_Request_Select.php" target="_self">
Clicking on the "Refresh Filters" (submit) button basically refreshes the page with the $_POST variables reflecting the current options selected.
- selection -- form with filtered list and "submit" button
The idea is that the user selects via the drop-down boxes what to display in the selection section's list, ie:
"Type" options are "All", "Individual", "Organization";
"Status" options are "All", "Open", "Closed - Case", "Closed - Denied" etc.
The user selects Type of "Individual" and Status of "Open" and clicks the submit button ("Refresh Filters") and the lower "selection" section shows only open individual records...
My question is this:
Is there a way to trigger the "submit" functionality using ONLY the drop-down box? I would like the user to change the "Status" to "Open" and immediately see only the open records without having to click the submit button.
I've tried experimenting with the "onchange" and "onclick" options, but I cannot seem to get anything to work since the lower display relies on the values in the various $_POST values...
There is no real code being processed in the "filters" section, it only passes via $_POST the current values of the drop-down boxes to the "selection" section.
I'd appreciate any help and thanks in advance.
Jerry