Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Question Validation on Previous Value

Question Validation on Previous Value 4 years 1 week ago #88725

  • zhtway
  • zhtway's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Hi,
I know how to hide/display the second question on the result of first question.
But I am stuck at validation of the value of second question on first.
Here is my example.
Q1. How many sibling do you have?
Q2. How many of your siblings are married?

I enter 3 and Q2 was enable by relevance equation Q.NAOK>=1.
I enter <=Q1.NAOK at Q2 validation. But it didn't work.
And also at Question Valiation Equation and not working.

I couldn't find in the manual.
The administrator has disabled public write access.

Question Validation on Previous Value 4 years 1 week ago #88726

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1894
  • Thank you received: 467
  • Karma: 118
Hello,
Maybe more simple than you can imagine....
Using numerical type question for Q2, you can set in advanced settings the minimum value allowed (as well as max value).

Ben/
BenoƮt

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The administrator has disabled public write access.
The following user(s) said Thank You: zhtway
Time to create page: 0.219 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form