How to insert checkbox into question text? | XM Community
Skip to main content
I'd like to insert a checkbox into the question text (not as a choice).



My question currently has this HTML:

`<input type="checkbox"/> Some text`



It looks like this in the Survey Editor:

!



But the actual survey doesn't show the checkbox:

!



When I inspect the code, it says:

`<input type="checkbox" class="QWatchTimer">Some text`



Is this an issue with underlying CSS? How do I override it?



Thank you!
Yes, the theme CSS is hiding the checkbox. Add a style attribute to the input tag to override the styles that are hiding it. You can see what these are in the Inspector (e.g., zero height and width, zero opacity, etc.).
The opacity was 0. Setting it to 100 did the trick. Thank you!
Hi Helenho,



Could you help show how to set the opacity to 100? Thanks very much!
within the html tag, set the CSS styling



style="opacity:100; rest of styling"

Leave a Reply