Check out the LimeSurvey source code on GitHub!

am i foolish to use LS subquestion?

  • limesun
  • limesun's Avatar Topic Author
  • Visitor
  • Visitor
3 years 4 months ago #100619 by limesun
set a array type question named q4, has 50 subquestions.
i need to get the assessment value of this array type question.then i input

{q4_1.value+q4_2.value+q4_3.value+q4_4.value+q4_5.value....+q4_50.value}

am i foolish? i believe there's a way like {q4_group.value},but i didn't find it.

Please Log in to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #100620 by DenisChenu
See the self or that reserved var:
manual.limesurvey.org/Expression_Manager....27that.27_variables

{sum(that.q4.value)}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 3 years 4 months ago by DenisChenu.

Please Log in to join the conversation.

  • limesun
  • limesun's Avatar Topic Author
  • Visitor
  • Visitor
3 years 4 months ago #100622 by limesun
many thanks for your perfect answer.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form