Welcome to the LimeSurvey Community Forum

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

VALIDATION NUMERO TELEPHONE

More
5 years 3 months ago #199386 by bayemanel
Bonjour a tous,
Je veux que vous m'aidez a valider un champs le numero de telephone de mon pays qui est le senegal


les numeros sont aux nombre de 9 chiffres

commencant toujours par 77 ou 70 ou 76 ou 78 suivi des 7 chiffres compris entre [O-9]

Merci d'avance
The topic has been locked.
More
5 years 3 months ago #199416 by Joffm
Replied by Joffm on topic VALIDATION NUMERO TELEPHONE
Regular expression

regexMatch("/^[7][0678][0-9]{7}$/", tel)

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, bayemanel
The topic has been locked.
More
5 years 3 months ago #199454 by bayemanel
Veuillez voir l'erreur desole
More
5 years 3 months ago #199465 by Joffm
Replied by Joffm on topic VALIDATION NUMERO TELEPHONE
Pas ici, "(Options générales)"
Validation : regexMatch("/^[7][0678][0-9]{7}$/",tel)

mais ici "(Logique)"
Équation de validation de question: regexMatch("/^[7][0678][0-9]{7}$/", tel)

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, bayemanel
The topic has been locked.
More
5 years 3 months ago #199472 by bayemanel
merci beaucoup ça marche à merveille merci mille merci
The topic has been locked.
Moderators: Nickkoholchtpartner

Lime-years ahead

Online-surveys for every purse and purpose