Welcome, Guest
Username: Password: Remember me

TOPIC: character limit multiple choice with comments

character limit multiple choice with comments 3 years 2 weeks 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.

Re: character limit multiple choice with comments 3 years 2 weeks ago #68545

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

Re: character limit multiple choice with comments 3 years 2 weeks ago #68572

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4360
  • Thank you received: 827
  • Karma: 381
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.115 seconds
Donation Image