Welcome, Guest
Username: Password: Remember me

TOPIC: Question about conditionals using the constant

Question about conditionals using the constant 1 year 9 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.

Re: Question about conditionals using the constant 1 year 9 months ago #91710

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.090 seconds
Donation Image