I have checkboxes and text fields. They are set to hidden. I have a selection list with several choices. If you choose one 3 certain choices the checkboxs and textfields show. This is my script, it works great. But what I want to do is have a radio button group with 3 buttons instead of the checkboxs. I tried using the group name, did not work. How do I change the Check 1 2 and 3 to radio group1 that has choice 1,2 and 3? if(event.value == "Occupational Health Evaluation completed" || event.value == "Occupational Health Surveillance Evaluation completed" || event.value == "Fitness to Work Evaluation completed") { this.getField("Text2").display = display.visible; this.getField("Text3").display = display.visible; this.getField("Text4").display = display.visible; this.getField("Text5").display = display.visible; this.getField("Check1").display = display.visible; this.getField("Check2").display = display.visible; this.getField("Check3").display = display.visible; } else{ this.getField("Text2").display = display.hidden; this.getField("Text3").display = display.hidden; this.getField("Text4").display = display.hidden; this.getField("Text5").display = display.hidden; this.getField("Check1").display = display.hidden; this.getField("Check2").display = display.hidden; this.getField("Check3").display = display.hidden; }
... View more