Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: set conditions for mandatory option

set conditions for mandatory option 1 Jahr 2 Monate her #96738

  • shadow
  • shadows Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 1
  • Karma: 0
Hi,

My survey has 4 questions and the last two having the long free text question type. I want that my respondents answer either the 3rd or the 4th question or both but not neither. There should be at least one of these last two questions answered. Can I do this and how? I just tried the is_empty function in the conditions but this would trigger if the next question is shown or not. I would have wanted that the condition be used to identify if the question is set to mandatory or not. Thanks!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

set conditions for mandatory option 1 Jahr 2 Monate her #96749

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4130
  • Dank erhalten: 763
  • Karma: 347
Given question codes "q3" and "q4" for the long-texts, try this as the whole question validation equation:
strlen(q3) > 0 OR strlen(q4) > 0
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.176 Sekunden
Donation Image