Welcome, Guest
Username: Password: Remember me

TOPIC: Question code

Question code 3 years 2 weeks ago #66579

Hi

currently limesurvey only allow 5 characters per question code. Can i increase the number of characters?
The administrator has disabled public write access.

Re: Question code 3 years 2 weeks ago #66586

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4263
  • Thank you received: 801
  • Karma: 367
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Question code 3 years 2 weeks ago #66588

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Question code 3 years 2 weeks ago #66589

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
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?
The administrator has disabled public write access.

Re: Question code 3 years 2 weeks ago #66650

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.110 seconds
Donation Image