How can I prevent values inside conditionally hidden sections from being cleared?

By: Doug Tree | Asked: 10/14/2024
ForumsCategory: How-toHow can I prevent values inside conditionally hidden sections from being cleared?
Doug Tree asked 3 days ago
https://formidableforms.com/knowledgebase/using-conditional-logic/#kb-conditionally-display-a-section

How can I prevent values inside conditionally hidden sections from being cleared?
Jason LoftusJason Loftus replied 1 day ago

I've never figured out a direct solution for this, but my own workaround has been to add hidden or administrator-viewable-only fields to the form and duplicate the value from the conditionally hidden fields (or conditionally hidden fields inside the hidden section) into those additional fields when the form is submitted. That way the value is at least retained and I can craft views, actions, and workflows accordingly.

It definitely makes everything a little more complicated and usually requires some PHP work depending on the workflow.

Doug Tree replied 1 day ago

Thanks Jason. I came across this solution on another discussion but wanted to find something easier as I will be creating many forms.

Would be nice if [frm-entry-update-field id=[id] field_id=y value="Updated"] worked for sections. Actually, I can’t get it to work for single fields (maybe there’s an issue with the current version)

2 Answers
Doug Tree answered 2 hours ago
I’d pay someone to fix this and share with the group.
Walter JonesWalter Jones answered 38 mins ago
Doug shoot me and email, I would be happy to take a look at this for you.  [email protected] .    

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right