The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Bienvenido, Invitado
Nombre de Usuario: Contraseña: Recordarme
  • Página:
  • 1

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

code length in question type L (Radio list) hace 4 meses 1 semana #91144

  • RBornat
  • Avatar de RBornat
  • DESCONECTADO
  • Fresh Lemon
  • Mensajes: 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).
El administrador ha desactivado la escritura pública.

Re: code length in question type L (Radio list) hace 3 meses 2 semanas #92438

  • dweisser
  • Avatar de dweisser
  • DESCONECTADO
  • Gold Donor
  • Mensajes: 63
  • Gracias recibidas 1
  • Karma: 2
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
El administrador ha desactivado la escritura pública.

Re: code length in question type L (Radio list) hace 3 meses 2 semanas #92451

  • RBornat
  • Avatar de RBornat
  • DESCONECTADO
  • Fresh Lemon
  • Mensajes: 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
El administrador ha desactivado la escritura pública.

Re: code length in question type L (Radio list) hace 3 meses 2 semanas #92489

  • DenisChenu
  • Avatar de DenisChenu
  • DESCONECTADO
  • Moderator Lime
  • Mensajes: 4431
  • Gracias recibidas 460
  • Karma: 167
RBornat escribió:
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
El administrador ha desactivado la escritura pública.

Re: code length in question type L (Radio list) hace 3 meses 2 semanas #92505

  • RBornat
  • Avatar de RBornat
  • DESCONECTADO
  • Fresh Lemon
  • Mensajes: 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
El administrador ha desactivado la escritura pública.
  • Página:
  • 1
Moderadores: DenisChenu, ITEd
Tiempo de carga de la página: 0.183 segundos
Donation Image