docx generated using OpenXml does not show form elements in MS Word

Kalyan Alapati 0 Reputation points
2024-05-16T15:21:41.92+00:00

We use OpenXml to covert html to word. This generated word file does not show radio buttons and check boxes when opened in MS word. It used to show but with recent windows updates, radio buttons and check boxes disappeared.

Html contains form elements(input element type radio).

The same word file when opened in any online word viewer, it shows these. Also when I unzip the word and viewed the afchunk.htm file, it has radio button elements but these are not showing up in MS Word.

Is it because of recent windows update? How can fix this? Can anyone help please?

Docx file:

https://www.dropbox.com/scl/fi/218uo77tp55jcvi3i09pc/Assessment-4.docx?rlkey=wk11ihyq7cfgl6u4nj6ymim7l&st=c89w6iri&dl=0

Online docx viwer

https://www.dropbox.com/scl/fi/qdimecpf9nbb73xd3siqg/Assessment_onlineViewer.jpg?rlkey=l3mnljrlz9zzy8gcp01etlyog&st=urgx9gos&dl=0

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
908 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,103 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
140 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tom Jebo 2,076 Reputation points Microsoft Employee
    2024-06-05T23:32:53.0966667+00:00

    Hi Kalyan Alapati,

    Thanks for your patience on this thread. The Word product team investigated this behavior and confirmed that this is due to a change that was made intentionally within the last year and is by design. Unfortunately there is no way right now to enable the rendering of these HTML components so this is the behavior going forward.

    Best regards,
    Tom Jebo
    Microsoft Open Specifications Support

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.