AEM 6.3 Forms - Hide repeatable panels

thilakpeddi

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)

TundraSteve

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.