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

SUJET : code length in question type L (Radio list)

code length in question type L (Radio list) il y a 1 an 9 mois #91144

  • RBornat
  • Portrait de RBornat
  • Hors ligne
  • Fresh Lemon
  • Messages : 15
  • Karma: 0
In version 2.00, but perhaps not in 1.92, it is impossible to set a code which has more than five characters for a choice in a L question -- for example I can have 'progr' but not 'progress'. This contrasts with (for example) M questions, which can have longer codes (no limit, so far as I can see).

Is there something I missed in the manual? Is this a bug or a feature?

PS I found it by trying to load a .lss file which broke this rule. It told me only

Error: Failed to insert data[6]

which wasn't very informative (sorry).
L'administrateur a désactivé l'accès en écriture pour le public.

Re: code length in question type L (Radio list) il y a 1 an 8 mois #92438

  • dweisser
  • Portrait de dweisser
  • Hors ligne
  • Bronze Donor
  • Messages : 205
  • Remerciements reçus 5
  • Karma: 5
Did you ever find a resolution to this issue? I need to have Label codes of greater than 5 characters. I changed the varchar in the database in lime_answers and lime_labels to no avail.
Anything?
-Nebraska
L'administrateur a désactivé l'accès en écriture pour le public.

Re: code length in question type L (Radio list) il y a 1 an 8 mois #92451

  • RBornat
  • Portrait de RBornat
  • Hors ligne
  • Fresh Lemon
  • Messages : 15
  • Karma: 0
No I didn't get any sort of response, and I haven't had time (yet) to turn myself into a php hacker. I wondered if I'd posted in the wrong place, or the wrong tone of voice, or something.

It is a very annoying restriction.

Richard
L'administrateur a désactivé l'accès en écriture pour le public.

Re: code length in question type L (Radio list) il y a 1 an 8 mois #92489

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 6429
  • Remerciements reçus 840
  • Karma: 249
RBornat écrit:
It is a very annoying restriction.
Don't undeerstand why a "More than 5 caracters" canbe good

10 caracters: use 2x space from DB, some user don't have big DB. And there are limiting issue with mySQL ISAM, if we set this to 20/25 caracter, there are more and more limit issue.

If you don't have time to hack PHP code, you can contact a LimeSUrvey developper for services.

Denis
L'administrateur a désactivé l'accès en écriture pour le public.

Re: code length in question type L (Radio list) il y a 1 an 8 mois #92505

  • RBornat
  • Portrait de RBornat
  • Hors ligne
  • Fresh Lemon
  • Messages : 15
  • Karma: 0
The odd thing is: it only seems to apply to L type questions. Other questions (e.g. M, as I said in my first post) have no such restriction. So if there are database issues for L, so there must be for M.

If that's not so, can you explain the difference?

Respectfully yours,
Richard
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.135 secondes
Donation Image