How can I collapse the choices of questions? | XM Community
Skip to main content
Question

How can I collapse the choices of questions?

  • May 31, 2022
  • 3 replies
  • 659 views

WhatsApp Image 2022-05-31 at 11.31.31 AM.jpegI am building a survey which would like to ask the customers how they think in different aspects under the same category, such as how they are satisfied the knowledge and attitude of our staff. Customers are required to give their satisfaction under each item, and this will make the survey quite long. I come across a survey from one company, and found that they were grouping the questions & answers like the attached picture shown.

Wondering how I can build my survey like this? Is this created by using specific question type, adding CSS or using block....?

3 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • May 31, 2022

That is the equivalent of a Qualtrics Likert Matrix question in mobile view (aka accordion).


amey_ghogale
QPN Level 1 ●
Forum|alt.badge.img
  • QPN Level 1 ●
  • 7 replies
  • March 31, 2024

Apart from Matrix question in mobile view is there a CSS or JS we can use to collapse questions or options once they are answered or focused-out for other question types ?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • April 1, 2024

Apart from Matrix question in mobile view is there a CSS or JS we can use to collapse questions or options once they are answered or focused-out for other question types ?

You can do it with JavaScript. I’m not sure exactly what you are looking for. You could hide everything but the question text. A couple of other examples:

  1. forceAccordion - force matrix accordion on all screen sizes
  2. mcSubChoices - multiple choice with sub-choices