We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Second instance of a Mergefield inside an IF field does not resolve if the field is empty

When a mergefield is empty and is tested in an IF field, shouldn’t all mergefields inside the IF field be resolved?



See attached

Hi John,


Thanks for your inquiry. This is because Aspose.Words doesn’t support updating of nested fields in IF field’s false arguments (IF’s TrueText or FalseText argument, which does not correspond to IF’s comparison result) any more. Moreover, such an argument does not affect IF field’s result; therefore, it is safe and there is nothing to worry about. Please let me know if I can be of any further assistance.

Best regards,