Hi, i have problem with 2 radio buttons. I`m tryin to use if else for the radio buttons. I have two input text fileds and i want when radiobutton1 is selected, (textfield1._visible = true and textfield2._visible = false). If i select radiobutton2 (textfield1._visible = false and …)
this is the code:
if(radiob1.selected == true){
workgroup._visible = true; //workgroup and workgroup2 are the textfields
workgrou2._visible = false;
}
else if (radiob2.selected == true){
workgroup2._visible = true;
workgrou._visible = false;
}
Thank you!