JavaScript Error in Adobe Acrobat Pro
I am trying to write a script to auto-calculate a Goal by multiplying the Total Contract Value by the selection from the drop down box. Here is my stab at it but I am getting a Syntax Error before statement 2 at line 3. Any help is appreciated.
Thank you!
if(this.getField("Type of Contract").value=='Construction (10% Goal)'){
event.value=nTotal Contract Value*0.10;
}else if(this.getField("Type of Contract").value=='Non-Construction (3% Goal)'){
event.value=nTotal Contract Value*0.03;
}else{
event.value=0//}
