Welcome, Guest
Username: Password: Remember me

TOPIC: Minimum characters in Input

Minimum characters in Input 2 years 8 months ago #96670

  • creativologist
  • creativologist's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • 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 2 years 8 months ago #96680

  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5416
  • Thank you received: 1154
  • Karma: 479
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.

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.186 seconds