Convert any typed character to its uppercase version?

WPFactory Plugins – Empower Stores Success Forums Product Input Fields for WooCommerce Convert any typed character to its uppercase version?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #99322

    I would like to add some JavaScript to a specific text field to convert any typed character to its uppercase version when entered.
    where can i do this? OR is this possible?


    Sorry for the delay.

    After reading your message, I just included a new option called “Uppercase” on version 1.1.3.
    If you have any questions, please let me know ๐Ÿ˜‰


    WHERE would I set this option as the client has already set validation in 100’s of products already now.

    AND JUST FYI when i set the validation pattern for a text field
    it works fine in chrome, and firefox, and IE BUT
    in Safari it is allowing the user to bypass validation and add the item to the cart. this also means it isnt working on Apple products IE iPad and iPhones.

    Pablo Pacheco

    Hi Ray,

    The Uppercase feature is located on Input field General option section.

    There is a bulk option on the plugin where you can set default inputs that will be displayed on all products. It’s located on plugin’s settings > All products.

    If you didn’t use it we can try to change it programmatically using the alg_wc_pif_field_html filter. I can help you with that, just let me know.

    Regarding Safari, unfortunately it doesn’t support the pattern attribute so well, but theoretically, since version 11 it should be working.


    Its ok i was able to us WP all import to update the affected product with the uppercase function.


    Pablo Pacheco

    You’re welcome ๐Ÿ™‚
    Glad to hear it!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Product Input Fields for WooCommerce’ is closed to new topics and replies.