Skip to content

Add phone number validation to sign form #255

@requiem958

Description

@requiem958

Is your feature request related to a problem? Please describe.
I see that there is a detection of whether an email is correct but not on the phone number. Adding this detection would be coherent if phone number stays mandatory.

Describe the solution you'd like
Same interface as validation of e-mail, but for phone numbers.

Additional context
After crawling the web, it seems difficult to just verify all phone numbers for all country, so it must maybe be precised that only some format will be accepted.

Some regex i found
^(?:(?:\+|00)33[\s.-]{0,3}(?:\(0\)[\s.-]{0,3})?|0)[1-9](?:(?:[\s.-]?\d{2}){4}|\d{2}(?:[\s.-]?\d{3}){2})$
But only for french phone numbers, source

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions