Hello,
I have a switch statement that is written in javascript that I need to re-create in formcalc as I need to use this form on an Ipad. Here is the code:
switch (this.rawValue) {
case "500":
form_1.Page5.subform5.texfield1.rawValue = "A";
form_1.Page5.subform5.textfield2.rawValue = "B";
form_1.Page5.subform5.textfield3.rawValue = "C";
form_1.Page5.subform5.textfield4.rawValue = "D";
form_1.Page5.subform5.textfield5.rawValue = "E";
break;
case "501":
form_1.Page5.subform5.textfield1.rawValue = "F";
form_1.Page5.subform5.textfield2.rawValue = "G";
form_1.Page5.subform5.textfield3.rawValue = "H";
form_1.Page5.subform5.textfield4.rawValue = "I";
form_1.Page5.subform5.textfield5.rawValue = "J";
break;
case "502":
form_1.Page5.subform5.textfield1.rawValue = "K";
form_1.Page5.subform5.textfield2.rawValue = "L";
form_1.Page5.subform5.textfield3.rawValue = "M";
form_1.Page5.subform5.textfield4.rawValue = "N";
form_1.Page5.subform5.textfield5.rawValue = "O";
break;
}
Thanks!