VALIDATION NUMERO TELEPHONE

More
1 month 3 weeks 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

Please Log in to join the conversation.

LimeSurvey Partners
More
1 month 3 weeks 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

Please Log in to join the conversation.

More
1 month 3 weeks ago #199454 by bayemanel
Veuillez voir l'erreur desole
Attachments:

Please Log in to join the conversation.

More
1 month 3 weeks 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

Please Log in to join the conversation.

More
1 month 3 weeks ago #199472 by bayemanel
merci beaucoup ça marche à merveille merci mille merci

Please Log in to join the conversation.

Moderators: Nickko

Start now!

Just create your account and start using Limesurvey today.

Register now