Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Conditional fields not displaying after closing & reopening form

Avatar

Former Community Member

Hi,

I am working on an order form that has some conditional fields / pages that must be visible / hidden based on the user selection. However when I close and reopen the form all selections are switched to default view (either hidden or visible). How do I prevent that (other than printing the form to PDF).

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Under Form Properties ... Defaults (tab) you can set "preserve scripting changes to form when saved" to automatic.  If it is set to manual and you want to keep it that way you will have add code in the initialize events to restore the form state.

Hope that helps

Bruce

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

Under Form Properties ... Defaults (tab) you can set "preserve scripting changes to form when saved" to automatic.  If it is set to manual and you want to keep it that way you will have add code in the initialize events to restore the form state.

Hope that helps

Bruce