Nested merge fields in MailMerge With Regions

I’m trying to do a nested merge field in a MailMerge With Regions (table). This is the Field Code:

{ if { MERGEFIELD ItemsKitItemNumber } = “60202308-01” “True”“False”}

The result is:

Error! Unknown op code for conditional.

If i Toggle Field Codes it seems like the mergefield has not been merged:

{ if { MERGEFIELD ItemsKitItemNumber } = “60202308-01” “True”“False” }

I have the following mergefield just below:

{ MERGEFIELD ItemsKitItemNumber }

This is merged to “60202308-01” just fine.
I’m using Aspose.Words 7.0
Tor Inge


Thank you for your inquiry. I cannot reproduce the problem on my side using the latest version of Aspose.Words (9.1.0). You can download this version from here:
Best regards,

I downloaded Aspose.Words 9.1. The result was the same. See attached template and result.


Thank you for additional information. As I can see in your document MergeField is inserted into IFFields as simple text, but it should be inserted as Field. I send modified document to your e-mail.
Best regards,

Thank you very much for your help. This solved my problem.