Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

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

code length in question type L (Radio list) 1 Jahr 9 Monate her #91144

  • RBornat
  • RBornats Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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).
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: code length in question type L (Radio list) 1 Jahr 8 Monate her #92438

  • dweisser
  • dweissers Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 205
  • Dank erhalten: 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: code length in question type L (Radio list) 1 Jahr 8 Monate her #92451

  • RBornat
  • RBornats Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: code length in question type L (Radio list) 1 Jahr 8 Monate her #92489

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6435
  • Dank erhalten: 840
  • Karma: 249
RBornat schrieb:
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: code length in question type L (Radio list) 1 Jahr 8 Monate her #92505

  • RBornat
  • RBornats Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.127 Sekunden
Donation Image