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

Microsoft 365 and Office Development Other
Microsoft 365 and Office Open Specifications
Microsoft 365 and Office Word For business Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Tom Jebo 2,336 Reputation points Microsoft Employee Moderator
    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.