Avatar

Correct answer by
Level 4

If  you are looking for script, this is relatively easy.

Create a radio button group in the workspace (I am assuming in the first set a "Yes" and "No" answer).

Create the second radio group with the other radio buttons you wish to be visible depending upon the selection made by the user in the first radio button group. From the Object palette, set Presence property for this second set to "hidden."

In the click event of the first radio group, add this code:

if (this.rawValue ==1){

 
form1.Page1.SecondRB_Set.presence = "visible";

}

    else{

        form1.Page1.SecondRB_Set.presence = "hidden";

}

In this example, I set the values for the first button (the "Yes" button to 1; the "No" button to 2). Thus, if "Yes" is clicked, the second radio button group will appear on your form.

A sample example is here:

https://www.dropbox.com/sh/nbcotxs1oddlxi8/AABva-CnzSniy20ruJQtb-v1a?dl=0

View solution in original post