Welcome, Guest
Username: Password: Remember me

TOPIC: Conditions not working on same page

Conditions not working on same page 2 years 2 months ago #84864

  • tuesday
  • tuesday's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
In older versions of Limesurvey, when questions were all on one page, a question with conditions wouldn't appear until the conditions were met. This feature is no longer working for me. Questions appear regardless of whether the conditions are met. Couldn't find anything in the bug tracker. Any idea what's going on? I have the latest version: 1.92+ Build 120822

Thanks
The administrator has disabled public write access.

Re: Conditions not working on same page 2 years 2 months ago #84865

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
The most likely cause is a bug in either your survey or your custom template.
Use the Show Logic File feature to see if there are any errors.

The usual source of errors is custom JavaScript or JSON that does not have whitespace (space, tab, or newline) after each opening curly brace and before each closing curly brace. In such cases, Expression Manager treats the contents between the curly braces as an equation and tries to parse it, which will generate invalid JavaScript, which prevents questions from being hidden.

If that still doesn't fix your problem, feel free to open a bug ticket and attach the survey (and template if you're using a custom one) that shows the problem.
The administrator has disabled public write access.
The following user(s) said Thank You: tuesday

Re: Conditions not working on same page 2 years 2 months ago #84866

  • tuesday
  • tuesday's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Ah, it was the template! I carried it over from an older version. I'll just make a new one. Thanks.
The administrator has disabled public write access.

Re: Conditions not working on same page 2 years 2 months ago #84877

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
If you are looking for a professional Limesurvey template which is fully tested with the latest Limesurvey version and all major browsers, have a look at www.limesurvey-templates.com

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.107 seconds
Donation Image