data-inputmask='mask' : '+32 (0) 99999999[9]', 'greedy': false, 'clearIncomplete': true Regards Maxim"> Phone number validation - Forums

Forums

Phone number validation

fkb 29 May, 2017
Hey,

How can I prevent users filling in a "0" for the first number of a telephone number ?

--> data-inputmask='mask' : '+32 (0) 99999999[9]', 'greedy': false, 'clearIncomplete': true <--

Regards Maxim
GreyHead 29 May, 2017
Hi Maxim,

Please see the docs here - possibly a Regex will do what you need?

Bob
fkb 29 May, 2017
Hi Bob,

Which masking type do you think I can use for my situation ?
Because it's not that simple for me.

Regards Maxim
GreyHead 29 May, 2017
1 Likes
Hi Maxim,

Not simple for me either - I'd probably try using a regular expression.

Bob
This topic is locked and no more replies can be posted.