Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Regex validation no longer working after updating to Version 2.00+ Build 130110

Regex validation no longer working after updating to Version 2.00+ Build 130110 3 years 10 months ago #91075

  • Sweden
  • Sweden's Avatar
  • Offline
  • Expert Lime
  • Posts: 80
  • Thank you received: 2
  • Karma: 2
I have this regex /^(te-i5e9tx2wc43x)$/ in the validation field of a short free text question (hidden with js). I am prefilling this question answer using the survey URL (for access control).

It worked just fine until I updated to Version 2.00+ Build 130110 :( - I have cleared my cache and restarted everything but nothing happens when I click the "Next" button. For some reason it doesn't seem to pass the validation - it works if I remove the regex...

What could be wrong?
The administrator has disabled public write access.

Regex validation no longer working after updating to Version 2.00+ Build 130110 3 years 10 months ago #91076

  • c_schmitz
  • c_schmitz's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 1033
  • Thank you received: 135
  • Karma: 97
What was your previous version/build ?
Best regards

Carsten Schmitz
LimeSurvey project leader
The administrator has disabled public write access.

Regex validation no longer working after updating to Version 2.00+ Build 130110 3 years 10 months ago #91077

  • Sweden
  • Sweden's Avatar
  • Offline
  • Expert Lime
  • Posts: 80
  • Thank you received: 2
  • Karma: 2
I believe it was the previous version - it hasn't been that long since I last updated.
The administrator has disabled public write access.

Regex validation no longer working after updating to Version 2.00+ Build 130110 3 years 10 months ago #91079

  • Sweden
  • Sweden's Avatar
  • Offline
  • Expert Lime
  • Posts: 80
  • Thank you received: 2
  • Karma: 2
Is it difficult to downgrade? Or even better, is there a solution to this problem? It would be nice if someone could confirm that there is a real problem with regex validation in version 2.00+ build 130110 so I know it isn't a problem on my side. Thanks.
The administrator has disabled public write access.

Regex validation no longer working after updating to Version 2.00+ Build 130110 3 years 10 months ago #91081

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
Hello Sweden,

Can you tell us whet is your version before upgrading ?

Thanks
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Regex validation no longer working after updating to Version 2.00+ Build 130110 3 years 10 months ago #91145

  • Sweden
  • Sweden's Avatar
  • Offline
  • Expert Lime
  • Posts: 80
  • Thank you received: 2
  • Karma: 2
Hello DenisChenu,

I am not sure - how do I find that info? As I said before, it hasn't been that long since I last updated so the previous version wasn't really that old. Does anyone else have this problem with regex validation?

Thanks
The administrator has disabled public write access.
Time to create page: 0.253 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form