Custom calculation script
Novice Alert
I've got a field where I'm trying to provide some feedback text based on the answers in other fields, it's only partially working though. The custom calculation script is:
if(this.getField("Box 1").value == "Off") event.value = "";
if(this.getField("Box1").value == "Yes") event.value = "";
if(this.getField("Box 1").value == "No") event.value = "Feedback text 1.";
if(this.getField("Box 2").value == "Don't Know")event.value= "";
if(this.getField("Box 2").value == "Off") event.value = "";
if(this.getField("Box 2").value == "Yes") event.value = "";
if(this.getField("Box 2").value == "No") event.value = "Feedback text 2.";
if(this.getField("NonPassCarryingLiftsQuarterlyInspections").value == "Don't Know")event.value= "";
However, the field only displays Feedback text 1 and not feedback text 2
What am I doing wrong?
TIA
