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

TOPIC: am i foolish to use LS subquestion?

am i foolish to use LS subquestion? 2 years 9 months ago #100619

  • limesun
  • limesun's Avatar
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.
The administrator has disabled public write access.

am i foolish to use LS subquestion? 2 years 9 months ago #100620

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
Last Edit: 2 years 9 months ago by DenisChenu.
The administrator has disabled public write access.

am i foolish to use LS subquestion? 2 years 9 months ago #100622

  • limesun
  • limesun's Avatar
many thanks for your perfect answer.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.208 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form