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

TOPIC: Show a question based on number of answers in previous question

Show a question based on number of answers in previous question 3 years 2 weeks ago #101791

  • paulfiner
  • paulfiner's Avatar
  • Offline
  • Expert Lime
  • Posts: 95
  • Thank you received: 1
  • Karma: 1
I have a checkbox question followed by a radio button question. I only want to show the radio button if more than 1 answer was checked in the first question. I'm fairly sure this can be done with Expression Manager but need some help with the code as I haven't used it before.

Cheers

Paul
The administrator has disabled public write access.

Show a question based on number of answers in previous question 3 years 2 weeks ago #101793

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
Given a question code for the multiple-options of "Q1", try this as a relevance equation:

count(that.Q1) > 1
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.
Time to create page: 0.412 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form