Conditions not working on same page

More
4 years 9 months ago #84864 by tuesday
tuesday created the topic: Conditions not working on same page
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

Please Log in to join the conversation.

More
4 years 9 months ago #84865 by TMSWhite
TMSWhite replied the topic: Conditions not working on same page
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 following user(s) said Thank You: tuesday

Please Log in to join the conversation.

More
4 years 9 months ago #84866 by tuesday
tuesday replied the topic: Conditions not working on same page
Ah, it was the template! I carried it over from an older version. I'll just make a new one. Thanks.

Please Log in to join the conversation.

More
4 years 9 months ago #84877 by Mazi
Mazi replied the topic: Conditions not working on same page
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)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now