Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Subquestions value

Subquestions value 1 Jahr 7 Monate her #91657

  • zhtway
  • zhtways Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Letzte Änderung: 1 Jahr 7 Monate her von zhtway.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Subquestions value and default value 1 Jahr 7 Monate her #91658

  • zhtway
  • zhtways Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Subquestions value and default value 1 Jahr 7 Monate her #91666

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4141
  • Dank erhalten: 768
  • Karma: 349
Try:
sum(that.Qcode.NAOK) == Q0.value
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.210 Sekunden
Donation Image