Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: character limit multiple choice with comments

character limit multiple choice with comments 5 years 1 month ago #68542

  • carlosanma
  • carlosanma's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Thank you received: 1
  • Karma: 1
How to make the text of the multiple-choice questions with comments can be given a character limit and provide security, so that you can not do SQL Injection or limit the types of characters that can be used

thanks
The administrator has disabled public write access.

character limit multiple choice with comments 5 years 1 month ago #68545

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
There is no inbuild feature for limiting the number of characters.

SQL-injection won't be possible because input is sanitized before saving to the DB.

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'"
The administrator has disabled public write access.

character limit multiple choice with comments 5 years 4 weeks ago #68572

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6571
  • Thank you received: 1477
  • Karma: 579
Here is a workaround to apply masks to text inputs. The mask can be used to control max characters.

docs.limesurvey.org/Workarounds%3A+Manip...vey#Text_input_masks
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
Time to create page: 0.223 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form