Conditional statement not working
<?xdofx:if(contains(Description___Local_ID20, ‘Y UNA PESOS’)
then
hello
else
goodbye
end if?>
When I display the pdf, the field where this code is displays the value of the field above it. What I should see is the vendor name (the other field) and below the vendor name I should see either 'hello' or 'goodbye'. But instead it displays the vendor name in both fields.
When I validate the template there are no errors found.
Thanks for any help!