Free Support Forum - aspose.com

Bug between FormField and BookMark

Hello,

We found a problem concerning FormFields and BookMarks. In the template that we are using to generate a document, we have a paragraph that begin with a FormField. This entire paragraphe is bookmarked like this:

BOOKMARK_START FORMFIELD bla bla bla bla bla bla bla BOOKMARK_END

When we list all FormFields of the document.Range.FormFields the bookmark that surround the whole paragraph appear as a FormField.

Is it possible to correct that bug or just give us a temporary solution.

Hi,

Thank you for considering Aspose.

Could you please attach your document template?

The template is in french.

If you go to the numbered list 2, you will see a bullet list whose each paragraph begin with a formfield. Each of these paragraph are surrounded by bookmark too.

When we load the document in the component and list the formfield, You’re not able to acces those formfield. Instead you will see the paragraph bookmark in the formfield list.

It seems like those “paragraph” bookmarks have overlapped ones that represent the form field names. Just open properties dialog for each “invisible” form field and press Ok there - it should restore proper document structure.