Hi,
In my page I have some controls like text boxes and drop downs. At the end of the form I have 2 buttons, one for submitting and the other for resetting.
For resetting i wrote the code like this :
<a4j:commandButton value="Reset" type="reset" action="#(beanName.methodName}"/>
After providing some values in the input fields, when I press this reset button, the values are not getting cleared.
If I press the reset button without providing any data in the input fields, valdations are geting fired for all the controls (Written validations for controls).
Please suggest me on this topic.
Add ajaxSingle="true" to the button and reRender the controls which gets reseted in action.