I have a field which calculates the value of three integers named 'TotalScore'. I then need to produce an IF Statement to work out based on the value in TotalScore the outcome of a performance. For example:
If TotalScore > 90 then OverallMatchPerformance = "Well Above Expected" If TotalScore > 80 then OverallMatchPerformance = "Above Expected" ..
This is what I have so far:
var TotalScore = TotalScore
if(TotalScore > 90)
console.log("Well Above Expected");
Every time I enter this into the 'Custom Calculation Script' in Adobe PDF I am not getting any results. How do I produce this statement above?
Most recent update:
var TotalScore = TotalScore.rawValue
if (TotalScore > 90){
console.log("Well Above Standard")}
This is where I am trying to display the results TotalScore is the variable and OverallMatchPerformance is where the output needs to be displayed "Well Above Standard"
try switching console.log("Well Above Standard") for return "Well Above Standard"