The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Subquestions value

Subquestions value 3 months 3 weeks ago #91657

  • zhtway
  • zhtway's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Hello,
I want to get subquestions value and compute in the formula.
My question code is lets say Q1.
Array (number) subquestions are

SQ1 SQ2
T1 xxx xxx
T2 xxx xxx

What will be the correct formula for those four cells
Last Edit: 3 months 3 weeks ago by zhtway.
The administrator has disabled public write access.

Re: Subquestions value and default value 3 months 3 weeks ago #91658

  • zhtway
  • zhtway's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Hi,
I change my logic a bit after finding out {sum(that.Qcode.NAOK)} command.
Q0 will get the total value.
and Q1 array group will collect all the numbers.
Compare Q0.value and {sum(that.Qcode.NAOK)} value to show Q2 or not.
But Q2 Relevance formula is not working. I use {sum(that.Qcode.NAOK)=Q0.value}.
What is wrong?
The administrator has disabled public write access.

Re: Subquestions value and default value 3 months 3 weeks ago #91666

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2853
  • Thank you received: 423
  • Karma: 243
Try:
sum(that.Qcode.NAOK) == Q0.value
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.214 seconds
Donation Image