
I have created a new Word Template and want to use a conditional IF statement from within a table - i.e. a repeatable field - to print field A or field B (if field A is empty).
For some reason Word doesn't want to play ball.
My statement looks something like the following:
{IF productdesc = "" productcat productdesc}
In essence I want to print field productdesc unless it is empty, in which case I want to price productcat
I've tried putting my field names in speech marks but that makes no difference
Is this syntax possible using XML fields? Maybe there a NULL or EMPTY() condition I need to check for?
Any help would be much appreciated.