The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Relevance equation not working with array question type

Relevance equation not working with array question type 10 months 3 weeks ago #82794

  • Xtale
  • Xtale's Avatar
  • OFFLINE
  • Bronze Donor
  • Posts: 17
  • Karma: 0
Hello,

I don't know if its a bug or if Im missing something. Controlling the visibility with !empty(question1) does not work if the previous question involves an array question type - the relevance equation just gives me "undefined variable" ??

Warm regards
x
The administrator has disabled public write access.

Re: Relevance equation not working with array question type 10 months 3 weeks ago #82798

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 751
  • Thank you received: 77
  • Karma: 33
See the naming conventions for EM. There isn't currently a function to say "is any part of an array question answered". Instead, you must check each individual variable. So if the variable is "q1", and sub-questions are "sq1-sq5", variable names are q1_sq1, q1_sq2, ..., q1_sq5.
The administrator has disabled public write access.

Aw: Relevance equation not working with array question type 10 months 3 weeks ago #82809

  • Xtale
  • Xtale's Avatar
  • OFFLINE
  • Bronze Donor
  • Posts: 17
  • Karma: 0
thank you
The administrator has disabled public write access.

Re: Aw: Relevance equation not working with array question type 10 months 3 weeks ago #82828

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5116
  • Thank you received: 261
  • Karma: 240
Xtale wrote:
thank you
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to give Limesurvey a future .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

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.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.176 seconds
Donation Image