Mark a checkbox as checked in a word (.docx) form
doc, docx, ms-word, xml
Solution
I've found the solution when a checkbox is checked, there is a tag: `<checked />` and when it isn't checked it is: `<checked val='0' />`
Problem
I'm using ruby/nokogiri to parse a word form and fill the fields. I've already managed to fill the text fields but I'm having difficulties to check a checkbox. I've looked on the document.xml and didn't notice any different tags when the checkbox is marked or not