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

TOPIC: Question Validation on Previous Value

Question Validation on Previous Value 3 years 9 months 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 3 years 9 months ago #88726

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1805
  • Thank you received: 445
  • Karma: 111
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 => bit.ly/20NW9V8 (already included in /docs/demosurveys)
The administrator has disabled public write access.
The following user(s) said Thank You: zhtway
Moderators: ITEd
Time to create page: 0.213 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form