Expression manager always shows syntax errors

More
3 years 4 months ago - 3 years 4 months ago #106421 by terminus
terminus created the topic: Expression manager always shows syntax errors
I am running Limesurvey 2.00+ Build 131206, and I want to add simple conditions like "show question 5 if question 4 was answered yes". Even such simple conditions are failing, and the questions are never shown. See the attachment, which indicates syntax errors with the expression ((4.NAOK"Y")). When I edit the question it appears as ((273243X1X4.NAOK "Y")).

The errors indicated are "Expected expressions separated by commas" and "Extra token found after expressions". It seems that the problem is that the == operator is missing, and has been replaced by spaces. But note that I didn't compose the expression manually, I just used added the condition using the web interface. So is this a bug (perhaps one fixed since 131206)?
Attachments:
Last Edit: 3 years 4 months ago by terminus.

Please Log in to join the conversation.

More
3 years 4 months ago #106425 by DenisChenu
DenisChenu replied the topic: Expression manager always shows syntax errors
Did you try to remove the condition and add it again ?

1st time i see this.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 4 months ago #106426 by terminus
terminus replied the topic: Expression manager always shows syntax errors
Yes I tried that. The only workaround that worked was adding the condition, then editing the question to copy the erroneous generated expression (eg. 273243X1X4.NAOK "Y"), then deleting the condition, then adding a manually-edited version of the expression (eg. 273243X1X4.NAOK=="Y"). Works, but is annoying and time-consuming.

Please Log in to join the conversation.

More
3 years 4 months ago #106427 by mdekker
mdekker replied the topic: Expression manager always shows syntax errors
What is your question code?

---
Menno Dekker

Please Log in to join the conversation.

More
3 years 4 months ago #106428 by terminus
terminus replied the topic: Expression manager always shows syntax errors
Just sequential numbers, like "1".

Please Log in to join the conversation.

More
3 years 4 months ago #106429 by mdekker
mdekker replied the topic: Expression manager always shows syntax errors
That is not supported. If you change it to q1 (so prefix with a letter) all should work fine.

---
Menno Dekker

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now