code length in question type L (Radio list)

More
4 years 6 months ago #91144 by RBornat
RBornat created the topic: code length in question type L (Radio list)
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).

Please Log in to join the conversation.

More
4 years 5 months ago #92438 by dweisser
dweisser replied the topic: code length in question type L (Radio list)
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

Please Log in to join the conversation.

More
4 years 5 months ago #92451 by RBornat
RBornat replied the topic: code length in question type L (Radio list)
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

Please Log in to join the conversation.

More
4 years 5 months ago #92489 by DenisChenu
DenisChenu replied the topic: code length in question type L (Radio list)

RBornat wrote: 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

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 5 months ago #92505 by RBornat
RBornat replied the topic: code length in question type L (Radio list)
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

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now