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

AEM 6.3 Forms - Hide repeatable panels

Avatar

Avatar
Validate 1
Level 1
thilakpeddi
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
thilakpeddi
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
thilakpeddi
Level 1

30-08-2017

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Level 5
TundraSteve
Level 5

Likes

51 likes

Total Posts

442 posts

Correct Reply

57 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Level 5
TundraSteve
Level 5

Likes

51 likes

Total Posts

442 posts

Correct Reply

57 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
TundraSteve
Level 5

27-10-2017

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.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
thilakpeddi
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
thilakpeddi
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
thilakpeddi
Level 1

27-10-2017

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