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

Free Support Forum - aspose.com

Form Fields name

I have some word templates with many form fields.
I need to merge various templates and to fill them .
In the resulting document the same field ( ex.: customer name, product price ) is repeated in different pages.
In MS Word fields can’t have the same name.
Must I have different field names with Aspose too ?


Hi Moreno,
Thanks for your inquiry. Name of form fields in MS Word is specified using bookmarks. Since document cannot contain duplicated bookmarks, document also cannot contain form fields with the same name.
Upon saving, Aspose.Words just remove duplicated bookmarks from the document. So when form field with duplicated name occurs, Aspose.Words will remove its name (bookmark), but form field will be still there. For example, see the attacked document. First two bookmarks have names, and second two bookmarks do not.
Best regards,