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

TOPIC: What's wrong with this logic?

What's wrong with this logic? 3 years 8 months ago #90310

  • ricardo
  • ricardo's Avatar
  • Offline
  • Expert Lime
  • Posts: 117
  • Thank you received: 1
  • Karma: 0
Trying to embed logic in a question. If somebody clicks "Yes" the second question should appear.


logic1.PNG


I created a condition, and the following is given by LS

((455272X418X6722.NAOK == "1"))

however, when I run the survey, and click "yes" the second question remains hidden





I have tried almost anything I can think of...clearing the cache, changing the question to a Yes/No question, creating the condition and pasting the generated code, etc...and the second question still doesn't show

And apparently everything is fine





Ricardo :angry:
Last Edit: 3 years 8 months ago by ricardo. Reason: forgot attachment
The administrator has disabled public write access.

What's wrong with this logic? 3 years 8 months ago #90377

  • ricardo
  • ricardo's Avatar
  • Offline
  • Expert Lime
  • Posts: 117
  • Thank you received: 1
  • Karma: 0
I exported my survey and tested it in my 1.92+ 120919installation...and the logic works fine (see picture below)




However, it doesn't behave the same way in version 2 (see below)




I'll assume it's a problem with the new version

ricardo
The administrator has disabled public write access.

What's wrong with this logic? 3 years 8 months ago #90387

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6212
  • Thank you received: 1376
  • Karma: 539
Yeah, maybe a bug.

Please file a bug report and...
1. Give as much information as possible.
2. Provide step-by-step instructions how to reproduce the problem.
3. Provide screenshots and a sample survey.
4. Post the link to the bug here so we can follow the progress.
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.

What's wrong with this logic? 3 years 8 months ago #90422

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9298
  • Thank you received: 1330
  • Karma: 386
Can you show the GROUP EM survey logic ?

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.251 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form