We've had a request to clear the hidden field data in the form so that it is not included in the submission xml to ease with integration on the client side.
Is there a suggested way to apply this to the form as a whole?
I know it can be done on a per field basis (clear on submit) and a per block basic (clear immediately) but just wondering if there is a suggested approach other than going through each component to do this?
In the template we can apply a style to every field type, is there a way to do something similar for field settings?
You can set this in the template on the Form root, in the data tab on the right is Hidden Data which can be used to set this on the whole form and then in your form you set exceptions to which hidden data you want to keep.
I created a new template version to test this, however if I select clear "On submit" on the root node and click Save, the setting is not persisted when I re-open the template. Would you like me to raise a ticket?
Yes, please log this as an issue
To get the template setting to be forced, what setting should the individual fields be set to? Currently they are set to "When parent is cleared" and some are still not being cleared on submit. I assume some fields are not being cleared because they are overriden in the form, but it is not clear to me what the field default setting should be, so that it will pick up the setting from the root form node in the template.
Any further guidance would be appreciated.