Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Email Validation

Email Validation 1 Jahr 6 Monate her #91349

  • NkemIku
  • NkemIkus Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Karma: 0
Hi there,

I want to apply an email validation feature to my survey, I came this link [docs.limesurvey.org/Using+regular+expres...vey#Email_Validation:] which gave me this /^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/ but I am not sure where to put it.

I tried putting it the the condition editor of my questions, but it ended up deleting the following question. What do i do?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91351

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 1061
  • Dank erhalten: 234
  • Karma: 74
Hello
validation.gif

Bye
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91352

  • NkemIku
  • NkemIkus Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Karma: 0
Thanks Ben. I have one final question. Is there a feature to make sure that the email address entered is correct (e.g. if there is a spelling error, or if the email is no longer active)
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91353

  • Ben_V
  • Ben_Vs Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 1061
  • Dank erhalten: 234
  • Karma: 74
No this feature only checks if the format is valid...
You may previously use an online email validity checker like this one (in french)
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91370

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6207
  • Dank erhalten: 788
  • Karma: 238
Hello,

You can use some PHP script with ajax, but it's very difficult to be sure that a email exist and is valid.

What can be done before sending:
- Check the email have correct caracters
- Check if domain exist
- Use the smtp server in your server to check if the user exist (hardly part)

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91371

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6207
  • Dank erhalten: 788
  • Karma: 238
Ben_V schrieb:
You may previously use an online email validity checker like www.protimail.org
Don't work:
- check denis <AT> sondages.pro (redirected to contact <AT> sondages.pro) : broken.
- check sondages.pro <AT> belar.gsill.net (direct user at a server: must be allways good): broken.

There is no real good way to validate an email except directly test to send a email with a smtp server.

I think we can use a script like this one: www.devshed.com/c/a/PHP/Email-Address-Verification-with-PHP/5/ (but remove the check MX record, a server cab accet mail without this.)

Maybe ....
Letzte Änderung: 1 Jahr 6 Monate her von DenisChenu. Begründung: Fix quote and remove @
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91435

  • NkemIku
  • NkemIkus Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Karma: 0
Hi Denis,

Thanks for all this information. I am sorry to say that I have no idea what you are talking about. I do not know how to write or use scripts.

This /^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/ helps to make sure that any email address entered ends with '@xxxxx.com or .ca', but if the address is not spelt correctly or invalid, it does not flag the email address as incorrect. I was wondering if there is a simple way to do this, because it is through the email address entered that I will be sending the honorarium to. Thus it is not up to me to validate the email address, it is up to the participant. I want to make this step as easy as possible for my participants when they are completing the online survey.

Thanks,
Nkem
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91466

  • Mazi
  • Mazis Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 5300
  • Dank erhalten: 291
  • Karma: 247
There is no way to detect a typo. When using a regular expression, you can only check certain syntax details.

The best way to prevent typos is to use an additional email confirmation field. This blog post shows different examples:
www.limesurvey-consulting.com/how-to-val...esses-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'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91573

  • monsey11
  • monsey11s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 1
  • Karma: 0
can this be applied to one field in a "Multiple Short Text" type of question?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Email Validation 1 Jahr 6 Monate her #91575

  • NkemIku
  • NkemIkus Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Karma: 0
I would like to thank everyone for their help. It turns out that the version of LimeSurvey I have does not have the setting to verify the email addresses (the question validation equation slot) . I can validate it, but can not verify it. So I have just asked my participants to re-enter their email addresses, and hope that there will be no mistakes this way.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.163 Sekunden
Donation Image