• Hello

    I want to have phone number validation on my check out form. I notice that if someone for example puts letters in the phone field there will be a message saying to put a valid number. But it doesnt seem to flag it as wrong if the number doesnt have enough digits (10 for my country numbers) How can i have this kind of validation?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Nadir Seghir a11n

    (@assassinateur)

    That’s currently not supported but you can add additional validation on woocommerce_after_checkout_validation action.

    Thread Starter eppz

    (@eppz)

    Is this in functions.php file? where would I need to add it?

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there @eppz,

    Is this in functions.php file? where would I need to add it?

    Yes, you will need to make the changes in your functions.php file. As this is quite a complex coding topic, I recommend running the exact question you’re asking, through an AI platform like ChatGPT for recommendations.

    Hope it helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘phone field validation’ is closed to new replies.