How to create a deselect / clear all button in matrix-type question | XM Community
Skip to main content

How to create a deselect / clear all button in matrix-type question

  • October 4, 2022
  • 2 replies
  • 60 views

Forum|alt.badge.img+5

Hello XM community coders,
I have several matrix-type questions in my survey and I'd like to provide my participants with an option to clear all / deselect their chosen selection. Is there a way to do this?

2 replies

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • October 4, 2022

If you are using matrix question with multi-select question type then using JS we can create a custom button with this functionality.


Forum|alt.badge.img+5
  • Author
  • Level 1 ●
  • October 4, 2022

Would it be possible for you to provide me a code for the JS ?