Application Development 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: 

Radio Button not to be select initially

Former Member
0 Kudos

Hi,

I am displaying 2 radio buttons under one group. normally one button will have the value X. But my requirement is nothing should be selected. Whenever user want to select any one then only it should select. otherwise both should be unselected.

points will be rewarded for solution.

Regards,

Vijay

4 REPLIES 4

Former Member
0 Kudos

Hi Vijay

This is not possible with radio buttons. They should be mutually exclusive even when selected or de-selected.

If you try to do this programatically it will cause a run time error.

~ Ranganath

jayakummar
Active Participant
0 Kudos

hai,

give default value 'X' for any one of the radio button at he time of diclaration....

reward points if useful.

regards,

jai.m

Former Member
0 Kudos

Hi,

I think this is not possible.

Thanks,

Sriram Ponna.

Former Member
0 Kudos

Hi Vijay,

try the code

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.