How to hide/display different section of the form in the Form Archive?

Hi @marinam,

What you can do is use code behind instead of the Behavior to show/hide sections.

When the page loads, you can show/hide the appropriate sections. And when the user submits, you can call a custom submitbutton event to show all desired sections. This way, whenever the system tries to generate the FORM_ARCHIVE file, you’ll see all sections that were hidden until the submit button got clicked.

You can use something like this to hide/show sections:

SECTION_ID.Visible = true;

Hope this helps.
Eddy.