I want to compare to fields in a report template but I am not having luck. I want a conditional element like this: ${if field1 != field2} some text ${/}
I've tried a few ways but I can't get the syntax right. None of the below works
${if field1 != field2}
${if field1 != ${field2}}
${if field1 != '"+field2+"'}
Has anyone successfully done this?