Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Can I have sliders in a Matrix question?

Re: Can I have sliders in a Matrix question? 2 years 10 months ago #72133

  • yuniper
  • yuniper's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Thanks for the instructions, have attached it to this post :)

File Attachment:

File Name: limesurvey_survey_21274.lss
File Size: 28 KB
The administrator has disabled public write access.

Re: Can I have sliders in a Matrix question? 2 years 10 months ago #72134

  • yuniper
  • yuniper's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
PS when I preview the survey, I do get the start screen but a blank one after that. Whereas I _can_ preview the items individually..
The administrator has disabled public write access.

Re: Can I have sliders in a Matrix question? 2 years 10 months ago #72182

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4372
  • Thank you received: 830
  • Karma: 381
...but I cannot move to a specific value...
You have Show "No answer" enabled which screws up the workaround. Change this line:
var lastVal = Number($('option:last', el).val());
To this:
var lastVal = Number($('option[value!=""]:last', el).val());

Also in my case I would actually like the first scale to be "regular" tick the option that is applicable style and the second scale to look like a slider scale in the range of 0-100.
I think you may be better off using two questions (a radio followed by a multi-numeric) and conditions to only display the multi-numeric if the radio is "Yes".
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 2 years 10 months ago by tpartner.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.118 seconds
Donation Image