Inserting text at the end of a slider in a constant-sum slider question? | XM Community
Skip to main content
Solved

Inserting text at the end of a slider in a constant-sum slider question?


Forum|alt.badge.img
Hi everyone I was wondering whether there is any way to achieve the following. It currently looks like this; ! but we'd like it to look like this; ! so I want to insert elements at the end of the each of the sliders in a constant sum slider question and on the left hand side as a form of axis label. Is there any way to do this? I don’t see any option to add javascript to the actual slider element of the question. Any help or clarification about whether this is possible would be greatly appreciated. Many thanks!

Best answer by TomG

It's very complicated, but possible. Just like any other question, you add JS to the question and it interacts with the question's html elements (in this case the sliders' elements).
View original

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5926 replies
  • Answer
  • November 8, 2018
It's very complicated, but possible. Just like any other question, you add JS to the question and it interacts with the question's html elements (in this case the sliders' elements).

Forum|alt.badge.img
  • Author
  • 5 replies
  • November 8, 2018
Many thanks for the response, it is much appreciated and now I know that my efforts aren't in vain!

Leave a Reply