Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Max Chars for textArea in List with comments

  • Rhlye93
  • Rhlye93's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 8 months ago #187110 by Rhlye93
Please your help...

I am using the List with comment and would like to change the textArea lentgh for characters, for example only acept 1000 characters

Please can you help me about the jQuery?


Thanks.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago - 4 years 8 months ago #187111 by Joffm
Hi,
just validate the question
strlen(Q2_comment.NAOK) < 1001
with a meaningful validation tip.

In the help text of your question - or somewhere else - you may enter something like
You have entered {strlen(Q2_comment.NAOK)} of 1000 characters.





Joffm

And you may read this
survey-consulting.com/how-to-count-the-n...urvey-text-question/

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 8 months ago by Joffm.
The following user(s) said Thank You: cdorin
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose