12-24-2007 12:25 PM
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
12-24-2007 12:29 PM
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
12-24-2007 12:30 PM
hai,
give default value 'X' for any one of the radio button at he time of diclaration....
reward points if useful.
regards,
jai.m
12-24-2007 12:31 PM
12-24-2007 12:34 PM
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.