Rating based on score script issue
I'm trying to get a form to auto populate a rating in a text box based on the percentage displayed in another text box. It just isn't working and I've tried many ways of writing it.
var score = this.getField("948 Score").value;
if (score == 100) event.value = "Commendable";
else if (score <= 99 && score >= 80) event.value = "Trained";
else if (score <= 79 && score >= 65) event.value = "Practiced";
else if (score <= 64) event.value = "Untrained";
