Problem: '<' truncates text response

More
5 years 6 months ago - 5 years 6 months ago #78563 by nebjamin
nebjamin created the topic: Problem: '<' truncates text response
Hi,
First of all, Limesurvey(ice) is great.
I use it for recruitment - candidates undertake an online programming test before they are invited for face to face interview.

Since they have to enter C code as part of their response, there are 2 problems:
  • White space, including carriage returns are stripped out
  • Text is often truncated (in the response, but not in the email), bu the character <, for example: for(int i=0;i<10;i++) - everything after the < is truncated.

Any solutions to these 2 problems?

BTW, just upgraded to V1.91+ and the whitespace issue was not a problem before (not sure what version that was)

Thanks
Last Edit: 5 years 6 months ago by nebjamin.

Please Log in to join the conversation.

More
5 years 6 months ago #78571 by DenisChenu
DenisChenu replied the topic: Problem: '<' truncates text response
Hello,

Sometimes best is to use < textarea > in your question text. And deactivate XSS protection.

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
5 years 6 months ago #78573 by nebjamin
nebjamin replied the topic: Problem: '<' truncates text response
Thanks for the tip...

Quickly tried this and it creates an extra text area IN the question text.
Not sure if that's what you meant?

Please Log in to join the conversation.

More
5 years 6 months ago #78575 by TMSWhite
TMSWhite replied the topic: Problem: '<' truncates text response
Try version 1.92+. I inserted that content into a large text question and it worked fine (could use previous to go back to the question and see it was unchanged; and the value in the database was also fine.

Please Log in to join the conversation.

More
5 years 6 months ago #78577 by nebjamin
nebjamin replied the topic: Problem: '<' truncates text response
A bit tricky: I am using LimeSurvey Professional (previously LimeService), and it tells me that there is no newer version than 1.91+ available.

Please Log in to join the conversation.

More
5 years 6 months ago #78593 by DenisChenu
DenisChenu replied the topic: Problem: '<' truncates text response

nebjamin wrote: Not sure if that's what you meant?

It's like I mean,
The you can have 'all you want' in textarea.

But the first think to do is : deactivate HTML editor !!

Think it can be done with 1.91 too.

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
5 years 6 months ago #78622 by Mazi
Mazi replied the topic: Problem: '<' truncates text response
LimeSurvey Professional (previously LimeService) should be updated to 1.92 in the next week(s). Alternatively you could use a file upload question type anhd ask user to upload their code as a text file.


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.

Start now!

Just create your account and start using Limesurvey today.

Register now