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

Avatar

Avatar
Level 1
scottj678500
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
scottj678500
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
scottj678500
Level 1

21-04-2021

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!

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,150 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

23-04-2021

@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