Mobile View on Desktop for Matrix Questions | XM Community
Skip to main content
Question

Mobile View on Desktop for Matrix Questions

  • October 12, 2021
  • 5 replies
  • 219 views

Hi all,
I would like my matrix questions to show up in the same format on desktop view as they do in the mobile version. I have tried previous solutions posted in the community (e.g.,https://community.qualtrics.com/XMcommunity/discussion/1525/how-can-we-apply-the-mobile-layout-of-matrix-question-to-the-web-one), and dragging the options to the far right does not consistently work for all Matrix questions. Please let me know if there is a way to do this consistently across all Matrix-type questions, perhaps with custom code?
Thanks in advance!

5 replies

Appzk
QPN Level 5 ●●●●●
Forum|alt.badge.img+34
  • QPN Level 5 ●●●●●
  • January 23, 2023

We have an option called 'Mobile Friendly' within Matrix question which makes your question to be displayed in different format. By disabling this, you can achieve to display matrix question similar at both desktop and mobile.
image.png
image.pngHope this helps!


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • January 23, 2023

Shokouh,
You might be interested in the forceAccordion function.


ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • January 23, 2023

Try this: You should find the class under mobile view through inspect element and then u can add the same class using below jquery code and can see the Mobile view in desktop as well.
#replace selector name
#replace class name
setTimeoff(function(){jQuery("selector name").addClass("class name");},50)


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • January 23, 2023

https://community.qualtrics.com/XMcommunity/discussion/comment/54400#Comment_54400Even if the errors in that code are corrected, it doesn't work properly. It is a lot more complicated than adding a class name.


ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • January 23, 2023

TomG might be you are right. Since Qualtrics engine has applied lot of changes. I did that few years back and it was working. 😇