9603 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Pro
—
6th October 2011 (7 months ago)
#
Hiya!
There's no way to change the current Phone field to required I'm afraid. You might however want to look at process_shipping_form() which might allow you to validate the field and force a valid entry.
8202 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
WPMU DEV Fanatic
—
14th October 2011 (7 months ago)
#
Yeah, as Phil's saying, really, you'd have to alter the core code for that one to work as far as I can see. Let us know if you have further questions on this shaunmacrae, and we'll see how we can assist!
We're still really struggling with phone numbers not being a required field. I know it will not suit all, but would it be possible to allow users to configure which fields are required without needing to do an unsupported/core code change?
Responses (3)
Sales & Support Pro — 6th October 2011 (7 months ago) #
Hiya!
There's no way to change the current Phone field to required I'm afraid. You might however want to look at process_shipping_form() which might allow you to validate the field and force a valid entry.
Phil
WPMU DEV Fanatic — 14th October 2011 (7 months ago) #
Yeah, as Phil's saying, really, you'd have to alter the core code for that one to work as far as I can see. Let us know if you have further questions on this shaunmacrae, and we'll see how we can assist!
Thanks,
David
Member — 4th February 2012 (3 months ago) #
Hey Guys,
We're still really struggling with phone numbers not being a required field. I know it will not suit all, but would it be possible to allow users to configure which fields are required without needing to do an unsupported/core code change?
Shaun
Become a member