Check out the LimeSurvey source code on GitHub!

Question code

More
5 years 3 months ago #66579 by eileenchew6
Hi

currently limesurvey only allow 5 characters per question code. Can i increase the number of characters?

Please Log in to join the conversation.

More
5 years 3 months ago #66586 by tpartner
Not without hacking the core code which is not recomended as it leads to updating problems.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 3 months ago #66588 by Mazi
this will also cause further problems when using placeholders and the like. Better not change that.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 3 months ago #66589 by TMSWhite
Actually, Question Title (the field in the database that stores Question Code) is varchar(20), so would store 10-20 characters depending upon whether you are using UTF-8 codes.

Is there some place that truncates question code to 5 characters?

Please Log in to join the conversation.

More
5 years 3 months ago #66650 by Mazi
I can't say for sure but there are several files where the 12345X22X333abcde code is separated into different pieces so there might be some code which relies on a max of 5 chars.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form