Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

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

Maximum lenght of question / subquestions and answer codes? il y a 1 an 7 mois #90073

  • cris_m
  • Portrait de cris_m
  • Hors ligne
  • Fresh Lemon
  • Messages : 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
L'administrateur a désactivé l'accès en écriture pour le public.

Re: Maximum lenght of question / subquestions and answer codes? il y a 1 an 7 mois #90096

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4072
  • Remerciements reçus 748
  • Karma: 341
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.
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: cris_m

Re: Maximum lenght of question / subquestions and answer codes? il y a 1 an 7 mois #90101

  • cris_m
  • Portrait de cris_m
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
Thank you very much for the prompt response!
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.132 secondes
Donation Image