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

Free Support Forum - aspose.com

No FormFIelds

Hi
i have a document with two form fields (i will upload it)
But:FormFieldCollection ffc = wd.Range.FormFields;
return zero form fields.

How to make it work?

uliDocxWithFormFields.zip (19.6 KB)

@uboddenberg,

Your document does not contain any form fields; instead, it contains two “Content Controls” that you can identify by using the following code:

Document doc = new Document("E:\\DocxWithFormFields\\DocxWithFormFields.docx");

int countSDT = doc.GetChildNodes(NodeType.StructuredDocumentTag, true).Count;
Console.WriteLine("Content Controls Count = {0}", countSDT);

ah, i see.

SOLVED!

Thanks.