Issue in running template from server
I am running the below mentioned code from my RTF template and its running fine while previewing locally but when i run it from server it needs to be mentioned in the text form field i.e Word Properties-->Add Help Text-->Type your own
<?xdofx:if instr(PAYINFO_OBJ,'cc') then 'If there is an amount due, we will attempt to auto-debit your credit card on file: Visa xxxx-'||DEBIT_NUM||' exp '||substr(DEBIT_EXP,1,2)||'/'||substr(DEBIT_EXP,3,4)
else
if instr(PAYINFO_OBJ,'dd') then 'We will attempt to auto-debit from your Bank Account in case there is a amount due.