Hi guys, I am still fairly new to Apex and learning here. I hope someone can help me to solve this problem:
I have a form where the user can specify the total number of visitors (min. 2 people, max. 5 people):

If the user select a number between 3 to 5 in the Number of Visitors dropdown, the "Next Guest's Name" text field and radio group will appear per guest. If the user select only 2, all of the Next Guest fields will disappear.
I know that we can specify dynamic action for each field item one by one, but are there alternative ways to do it? It seems very tedious and repetitive to create the dynamic actions if we have lots of field items for each guest (e.g. if I want to add guest's email, phone, title, etc for each guest)?
P.S. I am using Apex v.5
Danny