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

TOPIC: store totals for array (texts) question type

store totals for array (texts) question type 4 years 4 months ago #77557

  • IoSmith
  • IoSmith's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
Hello.
Is there a way to store as data the totals (for rows, columns, grand total) ?
ok the totals are shown when i fill in the survey but what's the point if i cannot save them.

LimeSurvey Version: 1.92+ Build 120311

Thanks
The administrator has disabled public write access.

store totals for array (texts) question type 4 years 4 months ago #77611

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6212
  • Thank you received: 1376
  • Karma: 539
You can use Expression Manager to load the totals into hidden questions - docs.limesurvey.org/Expression+Manager&s...tions+for+LimeSurvey
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.

store totals for array (texts) question type 4 years 4 months ago #77634

  • IoSmith
  • IoSmith's Avatar
  • Offline
  • Junior Lime
  • Posts: 28
  • Karma: 0
Tony, thanks for the hint. :)

A quick example to help the others:
{sum(QQ_1_A, QQ_2_A)}, where
QQ is the question code of the array (texts) question,
1 is the Y-Scale subquestion code and
A is the X-Scale subquestion code.

For other question types:
docs.limesurvey.org/Expression+Manager&s...#Access_to_Variables
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.300 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form