Welcome to the LimeSurvey Community Forum

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

Letters counter

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago #185552 by holch
Replied by holch on topic Letters counter
Well, then it is not a bug in strlen, but then it is a bug in your approach. ;-)

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
5 years 10 months ago #185572 by DenisChenu
Replied by DenisChenu on topic Letters counter
If we use www.php.net/manual/fr/function.mb-strlen.php in PHP, need a mb_strlen in javascript …
Or maybe our JS have an issue

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago #185580 by Mazi
Replied by Mazi on topic Letters counter

holch wrote: I did not use any special characters, if I recall right (just have a look at the last result in your demo and you'll see my text). ;-)


k, then let's call it a Limesurvey bug :-)

We have added a note about the special characters so users won't be confused.

Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago #185600 by holch
Replied by holch on topic Letters counter
I wouldn't consider the apostrophe a special character. If it doesn't count those right, the whole approach is worthless in my opinion.

You can't tell your respondents: Here is a character count, but it might not count some characters right... ;-)

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose