Welcome to the LimeSurvey Community Forum

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

set conditions to single answer in multiple numerical input

  • tonyget1
  • tonyget1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #107805 by tonyget1
Hello.
Is it possible to do that? I have multiple options with slider scale (so my only choice is to use multiple numerical input) but I'd like to show the different answers depending on the answers of the previous question (as is in the array filter but I cannot use this option, because there are no sliders in the array questions).
The example is:
q1. Do you know these sites? (multiple options)
-site A
-site B
-site C
-site D
-site E
(the respondent check only B and D)

q2. Please, evaluate these sites:
(and here it cames the slider scale, the task is to show only sites B and D and no the rest of them)
-site A (hidden)
-site B slider (-5/0/+5)
-site C (hidden)
-site D slider (-5/0/+5)
-site E (hidden)

Thanx.
I use the 1,92 verion but I could update it, of course.

Toni

P.S. I'm not new in Limesurvey but gor some reasons my profile has been deactivated.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 10 months ago #107809 by tpartner
You could use several multiple-numerical questions, each with only one sub-question.

Then these questions could be shown or hidden with conditions or relevance.


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: tonyget1
The topic has been locked.
  • tonyget1
  • tonyget1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #107819 by tonyget1
Thank you, I thought about the same solution, but when I use multiple numeric input questions with practically one option, the formatting is unusual. I mean, the first question apears with text/label and the next one whitout text, only with the answer, I receive this (see attach).
Can I remove this 'blank' line (in my case is grey). It appears in place of the missing text question. I'm sorry if my question is stupid, but I'm just a sociologist, familiar with Limesurvey.
Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 10 months ago #107825 by tpartner
Yes, you can remove those with CSS but I would need to see an activated test survey to give you the styles.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: tonyget1
The topic has been locked.
  • tonyget1
  • tonyget1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #107832 by tonyget1
Thanx again.
Is this link enough to you to see the css styles?
survey.economedia.bg/index.php?sid=74164&newtest=Y&lang=en
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 10 months ago - 9 years 10 months ago #107851 by tpartner
For your test survey, add the styles below to the end of template.css. Of course, the question IDs will be different for the live survey but you can see those in the edit screen as indicated below.
Code:
#question1975 .questiontext,
#question1976 .questiontext,
#question1977 .questiontext { 
  display: none;
}
 
#question1974 .slider-label,
#question1975 .slider-label,
#question1976 .slider-label,
#question1977 .slider-label {
  width: 100px;
}




Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 10 months ago by tpartner.
The following user(s) said Thank You: tonyget1
The topic has been locked.
  • tonyget1
  • tonyget1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #107853 by tonyget1
Thank you!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose