Title: Using input mask
Last modified: April 28, 2021

---

# Using input mask

 *  Resolved [alexisometric](https://wordpress.org/support/users/alexisometric/)
 * (@alexisometric)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/using-input-mask/)
 * Im struggling to understand the input mask feature, the help link provided is
   not easy to understand.
 * Im trying create a imput mask that will only allow capitals and spaces.
 * Im also trying to create another mask that will allow capitals, numbers and spaces.
 * Thanks

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

 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/using-input-mask/#post-14375693)
 * Hi,
 * You need to use regex feature like this:
 * [https://drive.google.com/file/d/1GP4Mx5oVd7R7PUDEmSHJbxEqR6TMsLUg/view?usp=sharing](https://drive.google.com/file/d/1GP4Mx5oVd7R7PUDEmSHJbxEqR6TMsLUg/view?usp=sharing)
 * You have to use the correct regex pattern in the masking field.
 *  Thread Starter [alexisometric](https://wordpress.org/support/users/alexisometric/)
 * (@alexisometric)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/using-input-mask/#post-14377320)
 * Is there a way to make PPOM convert lowercase to capitals when typing also?
 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/using-input-mask/#post-14379759)
 * No, it is not unless we add some JS.
 *  Thread Starter [alexisometric](https://wordpress.org/support/users/alexisometric/)
 * (@alexisometric)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/using-input-mask/#post-14382173)
 * Could you tell me where I could make this as a feature request?
 *  Thread Starter [alexisometric](https://wordpress.org/support/users/alexisometric/)
 * (@alexisometric)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/using-input-mask/#post-14382288)
 * I answered my own question, CSS Style
 * #ID {text-transform: uppercase;}
 *  [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/using-input-mask/#post-14385634)
 * Thanks for the update and solutions.
 *  Thread Starter [alexisometric](https://wordpress.org/support/users/alexisometric/)
 * (@alexisometric)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/using-input-mask/#post-14793729)
 * I notice this does not fix the issue completely, it just uppercases to the front
   end user, the data submitted into wordpress db is still lowercase, any ideas 
   on how we can have this converted to uppercase on the fly?

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

The topic ‘Using input mask’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-product-addon/assets/icon-256x256.gif?rev=3186763)
 * [PPOM - Product Addons & Custom Fields for WooCommerce](https://wordpress.org/plugins/woocommerce-product-addon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-product-addon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-product-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-product-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-product-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-product-addon/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [alexisometric](https://wordpress.org/support/users/alexisometric/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/using-input-mask/#post-14793729)
 * Status: resolved