Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

radio button

Former Member
0 Likes
717

Hi

How to declare a single radio button in selection screen. for me it is not allowing to declare single, it allows only if i declare multiple parameters as radio button.

Regards

Ratna

6 REPLIES 6
Read only

Former Member
0 Likes
692

Radio button by default will be created for a group .

min number is 2 for a group.

You cannot declare a single radio button.

Instead u can go for a check box declaration.

regards,

vijay

Read only

Former Member
0 Likes
692
Hi,

  It is not possible to declare only one radio button , may be u can hide one of them like this 


REPORT ychatest LINE-SIZE 350.

PARAMETERS : r1 RADIOBUTTON GROUP rad DEFAULT 'X',
              r2 RADIOBUTTON GROUP rad.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF screen-name = 'R2'.
      screen-invisible = 1.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.
Read only

SantoshKallem
Active Contributor
0 Likes
692

what is the use of single radio button?

Read only

Former Member
0 Likes
692

It is not possible to declare a single radio button.(as it always belongs to a group)

Use check box for this purpose

Read only

former_member508729
Active Participant
0 Likes
692

Hi,

I think you cant have single radio button in selection screen, You must have at least two radio buttons in a group.

Regards

Ashutosh

Reward points if helpful

Read only

Former Member
0 Likes
691

Radio Buttons are designed to select one among many( at least two). So, we cant create one radio button.

Check box can replace ur need.

Cheers.