The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: "Please check the format of your answer" text imbedded into question

"Please check the format of your answer" text imbedded into question 8 months 3 weeks ago #85046

  • nessajk
  • nessajk's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hi there,

I have a survey question with a "numerical input" question type. I want respondents to only be able to enter a number between 0-30. My colleague entered the validation code /^([0-9]|[12][0-9]|30)$/ and this does achieve the goal of only allowing a 0-30 entry. Unfortunately, it also embeds the text "Please check the format of your answer" into the question itself, which I don't want. Also, the code doesn't work when there is a relevance equation.

I can't find any way to remove that or another code to use that accomplishes the same. I had hoped that setting the Maximum Value in the advanced option settings would prevent answers over 30, but it does not.

Is there some way to get that text out? A different validation code to use?

Thanks!
Vanessa
Version 1.92+ Build 120501
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.235 seconds
Donation Image