Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Insert subform based on dropdown choice

Avatar

Former Community Member

Is there a way to insert a subform based on a dropdown choice. I have attached a sample of what I am trying to accomplish. When you select yes from the dropdown the subform becomes visible. What I want is when the selection is no, for there to be no space between the next set of questions. This form spans over 5 pages.

1 Accepted Solution

Avatar

Correct answer by
Level 6

Can be done with the following steps.

1. Save as dynamic pdf insted of static.

2. Change Work subform presence from Invisible to Hidden (Exclude from Layout) in your form.

Please check the attached updated pdf.

Raghu.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

Can be done with the following steps.

1. Save as dynamic pdf insted of static.

2. Change Work subform presence from Invisible to Hidden (Exclude from Layout) in your form.

Please check the attached updated pdf.

Raghu.