Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Need to Hide 2 Pages of form until specific dropdown selection chosen

Avatar

Level 1

Hello Experts!  Apologies for what may be a basic question.  I am a new user to AEM Forms 6.5 and am building a 7 page form.  I need to make pages 5 and 6 invisible for both viewing and printing to end users (but still visible to me in Design View), unless a dropdown "Yes/No" selection on page 4 is answered Yes - which then needs to make pages 5 and 6 visible for the user to complete.  I am able to change the dropdown to radio buttons or check boxes if that will make this any easier.  Any other scripting (buttons, etc.) has been done in Java, but I am a true newb to scripting.  Thank you in advance for any assistance!

1 Reply

Avatar

Employee Advisor

@scottj678500 A good way to start and learn designer script is by using 'action builder' Right-click on any object, then select action, and a dialog with action+event combination.

In this case, put a script on dropdown or radio change and hide the subform which is in 5 or 6 based on the value