Multiple Radio Button Groups "Other" Selection shows/hides single "Other" text box.
Ok, so I have multiple radio button groups with an "Other" selection. I am attempting to make a single "Other" text box visible/hidden based on any of the varying radio button groups selecting the "Other" option. Here is what I've attempted to work out and I'm clearly not understanding a whole lot when it comes to arrays. I have the below in the custom calculation script in the "Other" text box.
My sincerest thanks in advance for any and all assistance. 🙂
var Other = [];
other[0]= ("Incident_Health_System_Nervous");
other[1]= ("Incident_Health_DigestionNutrition")
other[2]= ("Incident_Health_UT")
other[3]= ("Incident_Health_Respiratory")
other[4]= ("Incident_Health_Circulatory")
var showField = this.getField("[0][1][2][3][4]").valueAsString=="Other";
if (showField) event.target.display = display.visible;
else {event.target.display = display.hidden; event.value = "";}
