Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Adding NA option in slider questions

  • jan.philipp.thomeczek
  • jan.philipp.thomeczek's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 months 2 weeks ago #264912 by jan.philipp.thomeczek
Replied by jan.philipp.thomeczek on topic Adding NA option in slider questions
Yes! Sorry, you're right. I must have lost it when creating the test survey. So it's added now and at least that seems to fix the gap between the +/- button and the skip button. Just the space after the skip button remaining.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 2 weeks ago #264914 by Joffm
Replied by Joffm on topic Adding NA option in slider questions

Just the space after the skip button remaining

Which space?
 

Evenb here you can minimize spaces by changing the paddings.
Investigate with the webdevelopment tool to find the affected classes ("contgrol-slider-buttons" and "ls-answers")
 

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • jan.philipp.thomeczek
  • jan.philipp.thomeczek's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 months 3 weeks ago #265352 by jan.philipp.thomeczek
Replied by jan.philipp.thomeczek on topic Adding NA option in slider questions
Thank you, all worked fine!
I have a slight issue with the question type, maybe there's a way to fix that. I'm using the response to that question to calculate a score, which works generally fine. If you click the skip button right away, it's recorded as NA - and count(qid) does work. However, there is one specific scenario where it doesn't: If you first click something on the slider, then skip and then proceed, there is (correctly) no answer recorded, but LS treats this as a non-NA question. Thus, count(qid) gets messed up. Can anyone think of a problem how to fix that? Hope my problem is clear?

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 months 3 weeks ago #265354 by Joffm
Replied by Joffm on topic Adding NA option in slider questions
Well,
you want to calculate a score?
How do you want to do it?
Obviously it is something like a mean- what else do you need a count for?

As these two scanarios are treated differently (easy to understand. In the first case the slider is untouched and doesn't have a value, in the second the slider was touches, has a value, but then is disabled by the array filter of a different question), you have to consider a different way to "count".

As the question is mandatory, you could say in the equation of your score:
{count(that.Q1.question)-countif("Y",that.Q1a)}
with Q1 - slider question
Q1a - checkbox question

Better you send the lss export with explanation of your score calculation

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose