Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude country code from the submitted data #88

Open
yaroslav-borodii opened this issue Oct 9, 2024 · 0 comments
Open

Exclude country code from the submitted data #88

yaroslav-borodii opened this issue Oct 9, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@yaroslav-borodii
Copy link
Collaborator

Hi Yaroslav,

Thank you for creating this phone number validation field. I have installed it using wordpress, and it does capture phone numbers, however, there is no automatic formatting as I type, and only numbers are received after submission. Also, validation only occurs upon submitting the form. Leaving the phone number field does not trigger any number validation, except for the required field validation.

Please check out the behavior here: https://www.pcp-nc.com/contact/

Also, is there any way to exclude the country code from the submitted data?

Here's are samples that passed validation. This is what I received in from the submitted data. There was no formatting.

19195551234
9195551234
+19195551234

Thank you,

John

@yaroslav-borodii yaroslav-borodii added the enhancement New feature or request label Oct 9, 2024
@yaroslav-borodii yaroslav-borodii added this to the v2.0.0 milestone Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant