Check out the LimeSurvey source code on GitHub!

character limit multiple choice with comments

More
5 years 3 months ago #68542 by carlosanma
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

Please Log in to join the conversation.

More
5 years 3 months ago #68545 by Mazi
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'"

Please Log in to join the conversation.

More
5 years 3 months ago #68572 by tpartner
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.

Please Log in to join the conversation.

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