Looking for a way to have a checkbox not save the input from the user in the entry.
Example: Checkbox asks user if they want to update info - if they check yes, then a post form action can happen. After form is saved, checkbox value is not and can be reset back to default of No.
Rationale - if an entry can be updated multiple times, but you don't want a post action to happen every time because the saved entry for that checkbox is now always yes, you need it to always default back to no after the form has been updated.
I would use the frm_pre_create_entry and frm_pre_update_entry hooks to unset the checkbox value before creating or updating the entry. You can use the same callback for both hooks.
Thank you. Checking out your links you provided. have you used this specific hook before?
Thank you. Checking out your links you provided. have you used this specific hook before?
Thank you. Checking out your links you provided. have you used this specific hook before?
Michael,
I've been developing expert business applications featuring Formidable Forms for more than a decade. I've used just about every developer hook Formidable offers including these two. I've also documented most of them for our Codex. (https://formidable-masterminds.com/about-the-codex/).
Do you have another question regarding their use?
Please login or Register to submit your answer