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

Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1

THEMA: Relevance Equation

Relevance Equation 5 Monate 3 Wochen her #89578

  • sully90403
  • sully90403s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 1
  • Karma: 0
Guys,

I am trying to create a equation question, and for the question to take place, I want to make sure that none of the values are null before performing the calculation in the question. It would seem based upon the BMI example in the documentation that this should work.

This is the code I am using:
{(!is_null(responsibility)) &&
(!is_null(active_role)) &&
(!is_null(confident_prevent)) &&
(!is_null(prescribed_medicatio)) &&
(!is_null(confident_problem)) &&
(!is_null(confident_concerns)) &&
(!is_null(confident_treatment)) &&
(!is_null(understand_health)) &&
(!is_null(treatments_available)) &&
(!is_null(maintain_lifestyle)) &&
(!is_null(prevent_problems)) &&
(!is_null(confident_solutions)) &&
(!is_null(confident_lifestyle))}

Yet for some reason it is complaining about the originating curly brace, which I am assuming means that the error is probably somewhere else? Any help/ insight, or link to documentation would be greatly appreciated. I have scoured the wiki thus far with no concrete results.

Thanks
Letzte Änderung: 5 Monate 3 Wochen her von sully90403.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Aw: Relevance Equation 5 Monate 3 Wochen her #89596

  • jelo
  • jelos Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 345
  • Dank erhalten: 32
  • Karma: 13
Why didn't you remove the {} at the beginning and the end?
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
Moderatoren: DenisChenu, ITEd
Ladezeit der Seite: 0.169 Sekunden
Donation Image