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
BedrockMission!

Learn More

View all

Sign in to view all badges

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
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
View profile

Avatar
Validate 1
Level 10
Mayank_Gandhi
Level 10

Likes

278 likes

Total Posts

1,101 posts

Correct Reply

181 solutions
Top badges earned
Validate 1
Contributor 2
Ignite 5
Ignite 3
Ignite 10
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