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

SOLVED

AEM 6.3 Forms - Hide repeatable panels

thilakpeddi
Level 1
Level 1

Hi All,

I have a requirement where I need to collect information (20 common fields) for multiple users on an Adaptive form.

The user should be able to enter information for one person. Then the are presented the option to "Add Another".

I tried using repeatable panel for this, however the problem here is I do not want to view other panels when filling this information.

As soon as the add another button is clicked show a new panel to collect necessary information but hide all the other panels for previous users.

What is the best way to handle this?

1 Accepted Solution
TundraSteve
Correct answer by
Level 8
Level 8

On the click of a button you can hide and show whatever panels you wish.  I'd suggest using rule builder to provide the guidance for you.  You can just drag and drop the functions you wish to occur and not worry about the scripting.  Select the button and it looks like a gavel to go to rule builder from the context menu.

View solution in original post

2 Replies
TundraSteve
Correct answer by
Level 8
Level 8

On the click of a button you can hide and show whatever panels you wish.  I'd suggest using rule builder to provide the guidance for you.  You can just drag and drop the functions you wish to occur and not worry about the scripting.  Select the button and it looks like a gavel to go to rule builder from the context menu.

View solution in original post

thilakpeddi
Level 1
Level 1

Thank you Steve. Solved the problem by using Accordion. Also tried out the Rules editor route and it works too.