Validate phone number on edit address page
-
I’m using the Woocommerce plugin and added a custom phone number user field. The phone number gets validated (10 digit number without special characters) correctly on the registration and checkout page. However, the user can enter any values on the my-account/edit-address/billing page. How can I hook into this process and only allow the user to enter a valid phone number when updating their profile.
I searched and tried various hooks but none of them seem to work as intended.
Thank you ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Validate phone number on edit address page’ is closed to new replies.