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

More
4 years 5 months ago - 4 years 5 months ago #93879 by docl
docl created the topic: Validation of a question with regexp - won't continue to next group
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: 4 years 5 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
4 years 5 months ago #93896 by DenisChenu
DenisChenu replied the topic: Validation of a question with regexp - won't continue to next group
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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 5 months ago #93937 by docl
docl replied the topic: Validation of a question with regexp - won't continue to next group
Consider it done :-)

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now