I have a form that I’m creating that has an empty_value for each option. I want a reset button that defaults to that option. The typical form reset button only resets to what the most recent POST request was. Is there a way to access to access that empty_value?
I have a form that I’m creating that has an empty_value for each option.
Share
Not an optimal solution as it involves a page reload, but why don’t you just have this reset button reload the page (load the url of the page with no post parameters). This would give you a form with all empty values.