Question
If then statement in javascript
I am trying to get my text field "Text 2" to populate based on the value in field "Text 1". If "Text 1" is less than 0.75, then "Text 2" should fill with "Not Met." Below is the custom calculation that I am setting up for "Text 2." Can someone tell me what I am doing wrong in my script?
var a=this.getField("Text 1").value;
var num1=0.75
var num2=1.75
var num3=2.75
if(var a<var num1){
event.value=a=="Not Met"?"":a;
}
Thank you!!
