Fixed width buttons for matrix table profile question? | XM Community
Skip to main content

Fixed width buttons for matrix table profile question?

  • August 30, 2022
  • 3 replies
  • 63 views

Forum|alt.badge.img+4

I like the buttons in the profile display mode, but I'm wondering if there's a way to show the statement text above the buttons instead of to the side?
I'm trying to achieve something that looks like this without having to make them all a separate multiple choice question:
image.png

3 replies

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • September 1, 2022

Using JS we can move the headers on top of choices as required.


Forum|alt.badge.img+4
  • Author
  • September 1, 2022

Shashi Thank you. Are you able to give me some hints as to how to set that up?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • September 2, 2022

Shashi is generally correct, but there are some details to consider such as the impact on mobile accordion and maintaining styles. Ideally, you would handle window resizing as well.
If you are interested, I have a function that does this.