Title: furfa's Replies | WordPress.org

---

# furfa

  [  ](https://wordpress.org/support/users/furfa/)

 *   [Profile](https://wordpress.org/support/users/furfa/)
 *   [Topics Started](https://wordpress.org/support/users/furfa/topics/)
 *   [Replies Created](https://wordpress.org/support/users/furfa/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/furfa/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/furfa/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/furfa/engagements/)
 *   [Favorites](https://wordpress.org/support/users/furfa/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Phone Validator for WooCommerce] Change placeholder digits and put number limit](https://wordpress.org/support/topic/change-placeholder-digits-and-put-number-limit/)
 *  [furfa](https://wordpress.org/support/users/furfa/)
 * (@furfa)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/change-placeholder-digits-and-put-number-limit/#post-13288674)
 * I guess i Have found the solution for q2
 * In functions php of your child theme just add the following code
 * // Custom validation for Billing Phone checkout field
    add_action(‘woocommerce_checkout_process’,‘
   custom_validate_billing_phone’); function custom_validate_billing_phone() { $
   is_correct = preg_match(‘/^[0-9]{10}$/’, $_POST[‘billing_phone’]); if ( $_POST[‘
   billing_phone’] && !$is_correct) { wc_add_notice( __( ‘The Phone field should
   be **10 digits**.’ ), ‘error’ ); } }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Phone Validator for WooCommerce] Change placeholder digits and put number limit](https://wordpress.org/support/topic/change-placeholder-digits-and-put-number-limit/)
 *  [furfa](https://wordpress.org/support/users/furfa/)
 * (@furfa)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/change-placeholder-digits-and-put-number-limit/#post-13288523)
 * First of all, the plugin is awesome! Thank you!
 *  I have the same question as Frankbaku (2)
 * For Ukraine somehow there is no validation of phone number. So user can enter
   any quantity of digits and the system will allow it.
 * Is there any way I could limit the digits that are entered by the user?

Viewing 2 replies - 1 through 2 (of 2 total)