If/then statement to return text score in another field
I have a Script to Evaluate the numerical score in the field TOTAL and return a Text Score in the field Overall Evaluation Rating but a get a syntext error; missing statement before 1; at line 2
If (TOTAL >= 82) && (TOTAL < 100)) {
event.value = "Superior";
}
else if (TOTAL > 67) && (TOTAL < 81)) {
event.value = "Satisfactory";
}
else if (TOTAL > 60) && (TOTAL < 66)) {
event.value = "Marginal";
}
else if (TOTAL > 0) && (TOTAL < 60)) {
event.value = "Unsatisfactory";
}
...
else {
event.value = "Unsatisfactory!";
}
