Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: only one question should be answered in a question group

only one question should be answered in a question group 1 Jahr 1 Monat her #98610

  • trivender
  • trivenders Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 142
  • Dank erhalten: 6
  • Karma: 6
I have display order group by group and I have two multi choice questions (D1 and D1Other) in a group .I want only one question must be answered. I have validation equation (((count(that.D1.NAOK)) >0) || ((count(that.D1Other.NAOK)) >0)) so that at least one of them should be answered .Can some one suggest how can I modify this equation so that only one question must be answered?
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
Der Administrator hat öffentliche Schreibrechte deaktiviert.

only one question should be answered in a question group 1 Jahr 1 Monat her #98617

  • trivender
  • trivenders Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 142
  • Dank erhalten: 6
  • Karma: 6
(((((count(that.D1.NAOK)) >0) || ((count(that.D1Other.NAOK)) >0))) && (!(((count(that.D1.NAOK)) >0) && ((count(that.D1Other.NAOK)) >0)))) should work fine:)
Trivender Singh
Survey Designer and Programmer
"I always suggest to have a group by group display layout and create a seprate group for each question. This will be extra work but you will get flexiblity to create your question by using more than more lime survey question types."
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.105 Sekunden
Donation Image