We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Finding all of the checkbox, dropdown and text form fields in a document

Thread ID:

Created:

Updated:

Platform:

Replies:

116546 Jun 9,2014 10:05 AM UTC Jun 12,2014 01:24 PM UTC WinForms 3
loading
Tags: DocIO
Apolon Ivankovic
Asked On June 9, 2014 10:05 AM UTC

I have a document with a mixture of dropdown and text form fields intermingled with tables and text. I've used the ChildElements and the section.Body.FormFields functionality to traverse through the document contents and it doesn't come across any of the form fields expected. How do i use the DocIO API to report on all form fields that are present in a document?

Sathish K [Syncfusion]
Replied On June 10, 2014 10:01 AM UTC

Hi Apolon,

 

Thank you for your interest in Syncfusion products.

 

The property section.Body.FormFields will surely list out all of the form fields supported by DocIO. Kindly check your input document that whether you have inserted form fields or content control fields. Currently preservation support only available for content controls fields and you can’t access those items from the input Word document because they have been handled internally. Kindly refer the below UG documentation link to know about how to insert form fields in your input document through MS Word as well as using DocIO.

 

http://help.syncfusion.com/ug/windows%20forms/docio/default.htm#!documents/formfield.htm

 

We have prepared a sample to illustrate how to access the form fields available in the Word document with a test case document which includes form fields. Please do find the sample from below link and let us know if this helps you.

 

Sample link:

http://www.syncfusion.com/downloads/support/directtrac/125833/Sample-1681429592.zip

 

Please let us know if you have any other questions.

 

Regards,

Sathish


Apolon Ivankovic
Replied On June 11, 2014 10:14 AM UTC

Yes they are content controls.

Could you clarify your following sentence:
"Currently preservation support only available for content controls fields and you can’t access those items from the input Word document because they have been handled internally"

What do you mean by "preservation support"?
Are content control fields supported at all?
If not, are there any plans to as they are very useful.

Sathish K [Syncfusion]
Replied On June 12, 2014 01:24 PM UTC

Hi Apolon,

 

Thank you for your update.

 

If any content controls available in the input Word document then that will be preserved as it is in the output Word document (this is not applicable for cross conversions like "Doc to Docx" or "Docx to Doc"). Here you can’t edit or modify the contents of the content controls.

 

Currently DocIO doesn't have support to manipulate content controls. We have logged this as a feature request in our database. We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. We will update you when this feature has been implemented.

 

You can track the status of this feature through our Feature Management system:

http://www.syncfusion.com/support/directtrac/features/WF-7081

 

Please let us know if you have any other questions.

 

Regards,

Sathish


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;