Jump to content

Invalid post code or invalid phone number if customer pastes it


nicoledesignstore

Recommended Posts

Hello,

so, as per subject, I am encountering an issue that does not allow customers to register a new address if format - sensitive fields (such as phone number or zip code, are populated by the customer in front office with an action of copy from some place and paste in the interested field. Is there a way to rectufy the data or avoid this issue in general?

I work on prestashop 1.7.8.5

Thanks!

Link to comment
Share on other sites

If you're running into issues with an invalid postcode or phone number when a customer pastes it, it’s likely because the system isn’t recognizing the format. Postcodes sometimes need to follow a strict pattern, so double-check if the spacing or case matters. The system might be expecting a country code or a specific format for phone numbers. One way to troubleshoot is to use a disposable phone number for testing to see if the format is the problem. Sites like disposable phone numbers can help with that. It could also be worth checking for invisible characters in what’s being pasted. A quick fix is manually typing it in to see if it works.

Edited by CarloMecan (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...