Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Maximum lenght of question / subquestions and answer codes?

Maximum lenght of question / subquestions and answer codes? 1 Jahr 9 Monate her #90073

  • cris_m
  • cris_ms Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
Hi there,

What is the maximum length of question / subquestions and answer codes in LimeSurvey 2?

The interface allows me to enter 20 characters for the question code, 20 for the subquestion code (options in Multiple choice questions) and 5 for the answer code (options in List questions). I seem to remember reading somewhere on the manual for v.1.92 that the length was shorter.

We need to know how to deal with some metadata, so the length of these fields is very important to us.

Thank you,
Cristina
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Maximum lenght of question / subquestions and answer codes? 1 Jahr 9 Monate her #90096

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4190
  • Dank erhalten: 787
  • Karma: 359
No, I don't think they are shorter. The database field types are:

- lime_questions (title) - varchar(20)
- lime_answers (code) - varchar(5)

And sub-questions are in the lime_questions table so the allowed lengths are indeed:

Question codes - 20
Subquestion codes - 20
Answer codes - 5
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.
Folgende Benutzer bedankten sich: cris_m

Re: Maximum lenght of question / subquestions and answer codes? 1 Jahr 9 Monate her #90101

  • cris_m
  • cris_ms Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 6
  • Karma: 0
Thank you very much for the prompt response!
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.121 Sekunden
Donation Image