Phone format

Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules
Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
Post Reply
Posts: 1
Joined: 29 Nov 2017, 07:05
what is two(2) plus three(3) ?: 5

Phone format

Post by Dimple_L » 29 Nov 2017, 07:26

My imput cell phone no is 12345678910 (11 digits) but after i saved, it changed to 234-567-8910 (10 digits).
I want to remove this format, please help.

User avatar
Site Admin
Posts: 791
Joined: 12 Apr 2008, 08:28
what is two(2) plus three(3) ?: 5
Location: UK

Re: Phone format

Post by RussH » 11 Dec 2017, 12:23

Hey there,

I assume the phone no validation trims your input.

I'd start here and look at the phone number regex to see why your phone no doesn't pass; ... tility.php

Report your issues and feature requests;

Please CLICK THE TICK to accept the answer!

Posts: 3
Joined: 11 Oct 2018, 18:33
what is two(2) plus three(3) ?: 5

Re: Phone format

Post by ARecruiter » 11 Oct 2018, 20:56

Hi there,

Would this be lines 43 and 44? I'm inputting UK numbers and they are converted to US format. Out numbers are 11 digits beginning with 0. As with the above poster, the numbers I input change to a xxx-xxx-xxxx format.

Post Reply