If, Else Statement Help
I am working on an Adobe Form where I need a field to poulate a value based on the value in another field.
Here is the scenario:
Total_Score1 | Performance_Rating1 |
22-24 | EE |
16-21 | ME |
10-15 | NI |
0-9 | DNM |
I tried using this on my Adobe Form to populate field "Performance_Rating1"
if ("TOTAL_SCORE1" > 21){ event.value = "EE";
} else if ("TOTAL_SCORE1" > 15){ event.value = "ME";
} else if ("TOTAL_SCORE1" > 9){ event.value = "NI";
} else event.value = "DNM";
The only result I am getting is "DNM" regardless of the value in TOTAL_SCORE1