Looking for a way to reset a checkbox field that has a single checkbox. It's a directory form that the purpose of the checkbox is to trigger an email notification upon submission - then the checkbox should clear, pending the next edit. So I don't need to store the checkbox status, but need it to trigger the email after submission only.
You can use frm_after_create_entry and frm_after_update_entry to clear the field value after it's submitted. See this specific example to give yourself a good headstart.
will the same code work if they are updating the form and not creating it for the first time?
Yes. Check out the names of the hooks 🙂
where do you recommend putting it - putting it in the submit button area of the customize html for that specific form just makes it show up as code on the page.
where do you recommend putting it - putting it in the submit button area of the customize html for that specific form just makes it show up as code on the page.
where do you recommend putting it - putting it in the submit button area of the customize html for that specific form just makes it show up as code on the page.
Please login or Register to submit your answer