Welcome, Guest
Username: Password: Remember me

TOPIC: Relevance equation not working with array question type

Relevance equation not working with array question type 2 years 1 month ago #82794

  • Xtale
  • Xtale's Avatar
  • OFFLINE
  • Fresh Lemon
  • 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 2 years 1 month ago #82798

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
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 2 years 1 month ago #82809

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

Re: Aw: Relevance equation not working with array question type 2 years 1 month ago #82828

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5301
  • Thank you received: 291
  • Karma: 247
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.
Moderators: ITEd
Time to create page: 0.108 seconds
Donation Image