Welcome, Guest
Username: Password: Remember me

TOPIC: Validation of a question with regexp - won't continue to next group

Validation of a question with regexp - won't continue to next group 1 year 1 month ago #93879

  • docl
  • docl's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
I am trying to validate a small text question with a regex like the following

^.*\b(one|two|three)\b.*$

The answer is validated correctly, eg. if "one" is written as answer the text field is white and not red, however I cannot continue to the next question group, when I click next, no error messages are shown.

Any ideas to what could be the problem?

What I essentially want to do is have people enter a code that has been handed to them on paper. When entered it should then be validated against a list of codes.
If there is a better way to do this I'm open for solutions..
Last Edit: 1 year 1 month ago by docl. Reason: Tried to move it to the correct forum subgroup - seems I am not able to do that..
The administrator has disabled public write access.

Validation of a question with regexp - won't continue to next group 1 year 1 month ago #93896

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 5845
  • Thank you received: 715
  • Karma: 222
Hello ,

If you have the last version, maybe you can put a bug report
www.limesurvey.org/community-services/bug-tracker

Denis
The administrator has disabled public write access.

Validation of a question with regexp - won't continue to next group 1 year 1 month ago #93937

  • docl
  • docl's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 8
  • Karma: 0
Consider it done :-)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.096 seconds
Donation Image