cancel
Showing results for 
Search instead for 
Did you mean: 

Radio Buttons in Interactive form

former_member1193316
Participant
0 Kudos
307

Hi,

I designed a interactive form with two radio buttons(RB) and two subforms(SF).

When I click on RB1,need to display SF1 and when I Select RB2, need to display SF2.

How can I do this.

I wrote a sample code at Clcik even of RadioButtonList


var radioButtons = document.getElementsByName("RadioButtonList");
for (var x = 0; x < radioButtons.length; x++ ) 
    {
        if (radioButtons[1].checked) 
          {
          Subform1.presence = "visible";
        }
        if (radioButtons[2].checked) 
          {
          Subform2.presence = "visible";
        }
      }

But the above code is not working...not triggering anything.

Kindly let me know wat might bthe problem

Regards,

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I think you should probably post this message into the Interactive Forms by Adobe forum instead. It seems more forms logic specific than Web Dynpro ABAP related.

former_member1193316
Participant
0 Kudos

Tqu,

I got solved tihs problem

Answers (0)