CF V4 Reset button not working

emmexx 02 Dec, 2012
I checked the option of the submit element to display a Reset button.
The button is there but it does nothing.
What is the expected behaviour of this control. Shouldn't it clear all the controls on the form at a minimum?
Should I code something to have it working?

The following is what I found in the form html code:
<input name="input_submit_2" class="" value="Filter" type="submit" />
 <input type='reset' name='reset' value='Reset' />


Moreover a working Reset button would only clear the controls. Since I'm using the submit button to submit a filter, I should submit anyway to clear the results (of a query), shouldn't I?

Thank you
maxx

p.s. In the html code there's another reset input, the one used by the search button of my templates. Could it be that the reason of the problem?
GreyHead 31 Dec, 2012
Hi Maxx,

I've just re-found this post, sorry not to have replied earlier. As far as I know the reset function is handled by the browser and resets the form controls to the values when the page was loaded. I don't think ChronoForms does anything except display the button.

Bob
This topic is locked and no more replies can be posted.