Check out the LimeSurvey source code on GitHub!

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

More
3 years 10 months ago - 3 years 10 months ago #93879 by docl
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: 3 years 10 months ago by docl. Reason: Tried to move it to the correct forum subgroup - seems I am not able to do that..

Please Log in to join the conversation.

More
3 years 10 months ago #93896 by DenisChenu
Hello ,

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

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
3 years 10 months ago #93937 by docl
Consider it done :-)

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form