Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Counting array answers

Counting array answers 1 Jahr 5 Monate her #92700

  • nuin
  • nuins Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 11
  • Karma: 0
Hi

We have a question where we have an array matrix with 15 subquestions and 12 options (one for each month of the year). We want to have the user to enter an X for at least one month in each one of the subquestions. I tried adding a count validation rule to the whole question, but it does not seem to be working as in our tests you cal leave a whole row empty and the answer is accepted (from a test version of our question)

count(spaq_12_12A_12Jan, spaq_12_12A_12Feb) >= 1 &&
count(spaq_12_12B_12Jan, spaq_12_12B_12Feb) >= 1 &&
count(spaq_12_12C_12Jan, spaq_12_12C_12Feb) >= 1 &&
count(spaq_12_12D_12Jan, spaq_12_12D_12Feb) >= 1

where spaq_12 is the question name 12A, etc is the subquestion ID and 12Jan, etc is the column ID.

Any help appreciated
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.130 Sekunden
Donation Image