I am trying to reset a form field when a front end form is saved.
I have a custom field "I confirm and agree" slug "confirm"
It is used on a number of forms to hide the submit button with conditional display. A user needs to check the field to confirm it complies with terms and conditions.
I would like it to reset to an empty field value each time a form containing the field is submitted.
Hello. Thank you for contacting the Toolset support.
Do you want to reset the form field value when the form field validatation failed or something?
Can you please share problem URL and tell me what steps I should follow that should help me to see the issue as well as what is your expected workflow.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Do you mean that if form validation failed then you want that every time if form validation failed from server side then you want to uncheck the checkbox "I confirm and agree"?
I use this form field is as many as a dozen forms. The user needs to check the box to see the submit button. My problem is currently it remembers that the field has been checked. After the form is submitted I need this field to reset so that the user needs to check it again the next time they go to add new or update content.