Jump to content

Form reset on change


petenaylor

Recommended Posts

Hi all

 

I have a filter system on a website I am creating and there are three forms each sends a value to the url using get.

 

Every time a user selects the drop down on the first form it send to the url and then a SQL query is run to select items from a database which works great for all three forms.

 

However, the problem I have is when the user goes and re-selects a category from the first form it needs to reset the other two below it and emptying the url parameter for both so it just asks the SQL to select the items from that category again.

 

Please help

 

Many thanks

Pete

Link to comment
https://forums.phpfreaks.com/topic/225608-form-reset-on-change/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.