Expand my Community achievements bar.

How to set value to radio button ?

Avatar

Former Community Member

Let abc is a exclusion grup of radio button name.

Radio buttons are a, b, c  and the values are 1,2 ,3 ;

Based on the some value i need to select any one of the radio button .

for example if value = 1 then a (radio button )should be selected .Here i used below code.

Could you please help me in the code .

if (value = 1){

a.rawValue = 1;

}

Its not working . Could you please advise

Regards,

dhiyan

1 Reply

Avatar

Level 6

set values by using the binding tab.  Click on one radio button.  Go to binding tab and check the specify item values box.  Set your values