1
0
-1

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?

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      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.

      1. Daniel Carlier

        Hi Glenn, 

        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?

        Cheers,

        Dan

      2. Glenn Crook

        Yes, please log this as an issue

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Hi Glenn,

      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.

      Thanks

        CommentAdd your comment...