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

Free Support Forum - aspose.com

Word form controls not saved to input tags in html

why attached sample docx with form controls is not being converted to html input forms for HtmlSaveOptions?

Using HtmlSaveOptions does not work for this doc, but docs that use legacy old form controls are converting to input tags in html OK.

HtmlSaveOptions saveOptions = new HtmlSaveOptions(SaveFormat.Html);
saveOptions.ExportTextInputFormFieldAsText = false;
saveOptions.ExportDropDownFormFieldAsText = false;
mDocument.Save(fileName, saveOptions);

Why using HtmlFixedSaveOptions with ExportFormFields = true; convert that doc to html with input tags for dropdown and check boxe and not for simple text box or rich text controls?

Anyway since HtmlFixedSaveOptions can save input tags in html I think HtmlSaveOptions should be doing the same.

Used Aspose Words .NET 16.1 when testing it.


Hi Brian,

Thanks for your inquiry. We have logged a new feature request as WORDSNET-13281 in our issue tracking system to export content controls to Html form tags e.g. input, select. We will inform you via this forum thread once this feature is available.

We apologize for your inconvenience.