Only submit default values for hidden fields in fieldsets if those fieldsets are visible | Community
Skip to main content
February 3, 2014
Delivered

Only submit default values for hidden fields in fieldsets if those fieldsets are visible

  • February 3, 2014
  • 2 replies
  • 1070 views
In the new Forms 2.0, by default all hidden fields will submit their default values, even if they are in fieldsets with visibility rules and those fieldsets aren't visibile when the user submits the form.

Wouldn't it be cooler if those values only submitted if those fieldsets were visible at the time of submission?
 
That way if you want it to submit conditionally, put it in that fieldset. And if you want it to submit by default no matter what, put it at the root level (outside of any fieldset).

2 replies

February 4, 2014
Ian - I've run through this test case several times and this is not the behavior I'm seeing.

Please shoot me a note separately and we can walk through where you're seeing this happen.
February 7, 2020
No text available