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 11 months ago #90310

  • ricardo01
  • ricardo01'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 11 months ago by ricardo01. Reason: forgot attachment
The administrator has disabled public write access.

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

  • ricardo01
  • ricardo01'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 11 months ago #90387

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
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 11 months ago #90422

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
Can you show the GROUP EM survey logic ?

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
Time to create page: 0.202 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form