How to collect the telephone number of respondents

Following this format: nine digits starting either by 70, 75, 76, 77 or 78 If the phone entered doesn’t have this format the enumerators get an error message “This phone number is not for this country”

Welcome to the community, @agotossou! Have you gone through our support article Restricting Text Responses With Regular Expressions? It should help you solve your issue. We also have some workarounds with regex in the community here which should be helpful.

Thanks, it is done using regex(., ‘^(70|75|76|77|78)[0-9]{8}$’)


@agotossou, :clap: :heart: