Copy link to clipboard
Copied
I'm working on a form where the user will choose which classes that would like to be registered for. If the user chooses from the "3 Hours AM Sessions" (Group1) and/or the "3 Hours PM Sessions" (Group2), I want to make the "6 Hours Sessions" (Group3) radio buttons either hidden or unavailable. See picture below for reference.
Copy link to clipboard
Copied
Hi,
You could add an action to run a javascript on each of the radio buttons, in group 1 (AM sessions) and group 2 ( PM sessions) that set the Group 3 (6 hour sessions) to either readonly or hidden.
this.getField("Group3").readonly = true;
OR
this.getField("Group3").display = display.hidden;
(you need to change "Group3" above to the name of your radio button group for the 6 hour sessions)
You may also have to add a reset button so this could be undone if someone picks the wrong option.
(this is just the code above but replace true with false,OR display.hidden with display.visible)