Hi, how can I sum up the following values? [A-H]&[J-U]&[W-Z] [a-z] [I,II, III, IV, V, VI, VII] if (event.value=="A") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; } else if (event.value=="B") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; } else if (event.value=="C") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; } else if (event.value=="D") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; } else if (event.value=="a") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; } else if (event.value=="b") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; } else if (event.value=="c") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; } else if (event.value>=0) { event.target.textColor = color.black; this.getField("Field1").textColor = color.black; this.getField("Field2").textColor = color.black; this.getField("Field3").textColor = color.black; } else if (event.value=="I") { event.target.textColor = color.green; this.getField("Field1").textColor = color.green; this.getField("Field2").textColor = color.green; this.getField("Field3").textColor = color.green; } else if (event.value=="II") { event.target.textColor = color.green; this.getField("Field1").textColor = color.green; this.getField("Field2").textColor = color.green; this.getField("Field3").textColor = color.green; } else if (event.value=="III") { event.target.textColor = color.green; this.getField("Field1").textColor = color.green; this.getField("Field2").textColor = color.green; this.getField("Field3").textColor = color.green; } else if (event.value=="IV") { event.target.textColor = color.green; this.getField("Field1").textColor = color.green; this.getField("Field2").textColor = color.green; this.getField("Field3").textColor = color.green; } else if (event.value=="V") { event.target.textColor = color.green; this.getField("Field1").textColor = color.green; this.getField("Field2").textColor = color.green; this.getField("Field3").textColor = color.green; } else event.target.textColor = color.blue; as well I would like to sum up the "get.Field" method. I tried this: this.getField(["Field1","Field2","Field2"]).textColor = color.red; but it didn't work can you please help me?
... View more