AnsweredAssumed Answered

'if' Statement Arguments Error

Question asked by ryma.aneliunas_esrd on Jan 8, 2018
Latest reply on Jan 8, 2018 by JTedrick-esristaff

Hi,  I have a conditional statement calculation in my survey in that is returning an error: 

"XPath evaluation: cannot handle function 'if' requires 3 arguments, Only 2 provided." 

As you can see I have four, so I am stumped.  Your input is much appreciated.

 

if(${stoff}>1200,'EXT INFLUENCE',if(${stoff}>860,'PROTECTED',if(${stoff}>840,'MARGINAL',if(${stoff}<840,'UNPROTECTED'))))

Outcomes