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

TOPIC: Minimum characters in Input

Minimum characters in Input 3 years 3 months ago #96670

  • creativologist
  • creativologist's Avatar
  • Offline
  • Junior Lime
  • Posts: 25
  • Thank you received: 1
  • Karma: 0
I see in the advanced settings of question for Input you can set MAXIMUM Characters. That's great, but what about MINIMUM Characters?

If I have long free text, I'd like to get meaningful responses - meaning more than a certain number of characters. For example, "your answer is too short" if someone types just the word "Yes" or any too short of a response that isn't very helpful to us.

Can that be done somewhere?

thanks
The administrator has disabled public write access.

Minimum characters in Input 3 years 3 months ago #96680

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6321
  • Thank you received: 1407
  • Karma: 547
Try adding something like this to the "Question validation equation" field:
strlen(this) > 100
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.
The following user(s) said Thank You: jnvalcarcel

Minimum characters in Input 4 months 2 weeks ago #135859

  • mana
  • mana's Avatar
  • Offline
  • Junior Lime
  • Posts: 24
  • Karma: 0
HI TONY,

Don't work
i want to set Minimum characters on Multiple numerical input for phone number
The administrator has disabled public write access.

Minimum characters in Input 4 months 2 weeks ago #135895

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6321
  • Thank you received: 1407
  • Karma: 547
I find that quite an abrupt and incorrect statement! It DOES work for long text questions!
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 4 months 2 weeks ago by tpartner.
The administrator has disabled public write access.

Minimum characters in Input 4 months 2 weeks ago #135902

sorry
yes it's work . :blush: :S
sorry again
The administrator has disabled public write access.

Minimum characters in Input 3 months 1 week ago #137884

It works just fine. :) grettings from PerĂº
The administrator has disabled public write access.
Time to create page: 0.307 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form