How to set custom start position between grid lines with “snap to grid” enabled | XM Community
Question

How to set custom start position between grid lines with “snap to grid” enabled

  • 24 August 2019
  • 3 replies
  • 63 views

I am using a slider that has the following characteristics:

min. value = 1 ; max. value = 6; "snap to grid" enabled

The slider does not have a neutral point, however I would like the start position of the slider handle to be at "3.5", for it to be midpoint between 3 and 4 and not influence respondents (whilst retaining "snap to grid" and without adding decimal places).

Is there are away to do this?

I have tried fixing this using the below code, for the first question in a series of sliders:

Qualtrics.SurveyEngine.addOnload(function() {
this.setChoiceValue(1, "3.5");
});

I expected this to work. However the handle automatically snaps to a starting position of 4 (and is also in bold colour indicating an active choice as opposed to a default starting position).

Any help would be really appreciated

3 replies

I would like to do the same thing. Is there a solution, yet?

Badge +1

I have the same question and would really appreciate any help on this.

Userlevel 7
Badge +20

Hello @KayLeung, since this is an older post I recommend creating your own new post and providing a detailed description of your issue to increase your likelihood of getting a response. 🙂

Leave a Reply