Question
Conditional action on buttons
I have a button where Ive set the action to submit the form followed by an action to clear the form fields. Is there a way to make the clear form fields conditional upon the 'submit' action actually happening (when required fields aren't filled the submit button fails but then clear the form as well!)
