Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : How to add regular express validation in short text input field?

Re: How to add regular express validation in short text input field? il y a 2 ans 8 mois #73993

  • Mazi
  • Portrait de Mazi
  • Hors ligne
  • LimeSurvey Team
  • Messages : 5331
  • Remerciements reçus 296
  • Karma: 249
sammy écrit:
Thanks your information.
Where to input/place em_validation_q advanced question option ? please advise.
Doesn't the manual tell you where to do that?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
L'administrateur a désactivé l'accès en écriture pour le public.

Re: How to add regular express validation in short text input field? il y a 2 ans 8 mois #74018

  • Steve
  • Portrait de Steve
  • Hors ligne
  • LimeSurvey Team
  • Messages : 494
  • Remerciements reçus 46
  • Karma: 17
Hello,

it is called "Question validation equation" and you can see/change it if you click "Show advanced settings".

It would be nice if you could explain the EM related things in a more understandable way. I may understand what you are talking about because I actively work with it but users not familiar with EM might have problems understanding things like "you could set the em_validation_q equation".
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
L'administrateur a désactivé l'accès en écriture pour le public.

Re: How to add regular express validation in short text input field? il y a 2 ans 3 semaines #86186

  • Mazi
  • Portrait de Mazi
  • Hors ligne
  • LimeSurvey Team
  • Messages : 5331
  • Remerciements reçus 296
  • Karma: 249
vierundzwanzig écrit:
Hello,

it is called "Question validation equation" and you can see/change it if you click "Show advanced settings".

It would be nice if you could explain the EM related things in a more understandable way. I may understand what you are talking about because I actively work with it but users not familiar with EM might have problems understanding things like "you could set the em_validation_q equation".
There is an interesting blog post at www.limesurvey-consulting.com which describes different methods of validating email addresses:
"How to validate email addresses at Limesurvey"

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
L'administrateur a désactivé l'accès en écriture pour le public.

Re: How to add regular express validation in short text input field? il y a 1 an 11 mois #88627

  • setup
  • Portrait de setup
  • Hors ligne
  • Fresh Lemon
  • Messages : 6
  • Karma: 0
Hi,
i'm newbiee and a i'm in a similar situation, tried to explain:

after the first login page wich is the token field
i want to ask for a second secure question which is the passport ID 9 characters (TOKEN:ATTRIBUTE_1)

i 've tried two diferents solutions:

1.- conditions: is two make two more questions groups after the passport question, one group says: your response to Passport ID is no good, and the other group is the really questions i wat to make. I've donned it with "conditions". Like: show this question IF token:attribute_1=... But the problems is when the passport ID is wrong and jumps the group question saying "wrong answer", i don't know how to let the user come back for reentry the passport ID

2.- Question validation equation: i put regexMatch(implode('',TOKEN:ATTRIBUTE_1),this) in advanced settings wich seems to work because until 8 character the background of the field is red and in the 8 and 9 character it becomes white. But when i summit "Next" it doesn't work..

any help please? i've tryed a lot of combinations and readed the manuals "Advanced question settings" and "Using regular expressions" a lot of times and didn't get with the solutions

Help in advanced
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.130 secondes
Donation Image