Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Forcer un type d'adresse mail.

More
3 years 7 months ago #224331 by fredoise
Please help us help you and fill where relevant:
Your LimeSurvey version:  3.17.0+190402
Own server or LimeSurvey hosting: 
Theme: Fruity

==================
[Write here your question/remark]

Bonjour,

Dans le cadre de mon travail, on me demande de créer une enquête, je tiens à vous préciser que je ne suis pas informaticien.
Dans celle-ci j'ai une question où les participants doivent entrer une adresse mail dans ce format (@ac-amiens.fr)
Comment puis-je obliger cette écriture? 

Merci part avance de vos réponses
fredoise
The topic has been locked.
More
3 years 7 months ago #224332 by Joffm
Anglais ici svp.
Please write English here.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
3 years 7 months ago #224333 by fredoise
Hello,

As part of my work, I am asked to create a survey, I would like to point out that I am not a computer scientist.
In this one I have a question where participants must enter an email address in this format (@ac-amiens.fr)
How can I force this writing?

Thanks in advance for your answers.
The topic has been locked.
More
3 years 7 months ago #224340 by Joffm
You may use a validation by a Regular Expression,

like
/^.+?@ac-amiens.fr$/

Correct address
 

Wrong address
 

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: holch
The topic has been locked.
More
3 years 6 months ago #224383 by fredoise
it works great, thank you very much
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose