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

TOPIC: Question about conditionals using the constant

Question about conditionals using the constant 3 years 8 months ago #91695

  • bwoo5
  • bwoo5's Avatar
  • Offline
  • Expert Lime
  • Posts: 80
  • Thank you received: 4
  • Karma: 0
I have a numerical field that I ask someone to type a number into.

The questions after that I want to either show or hide depending on what number they typed in.

Is there anyway to say list all the numbers that are acceptable in the constant box instead of adding 1 constant at a time? Like one question I have would have almost 300 conditionals because there are 300 numbers that can be typed in to show it. Is there anyway I can type in all 300 numbers into one conditional?

Thanks.
The administrator has disabled public write access.

Question about conditionals using the constant 3 years 8 months ago #91710

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6305
  • Thank you received: 1406
  • Karma: 546
You should be able to use a regular expression for that - docs.limesurvey.org/Setting+conditions&s..._comparison_operator
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
Time to create page: 0.654 seconds
Imprint                   Privacy policy                  Revocation information and revocation form