WPForms Blog

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

Comments

  1. Thanks for reading this article – I hope you found it helpful.

    I wanted to let you know about our new WordPress survey plugin that allows you to build interactive polls and surveys within minutes. You also get best-in-class reporting, so you can make data-driven decisions.

    You can get it 100% free when you purchase WPForms Pro plan.

    Get Started with WPForms Today and see why over 1 million websites choose WPForms as their preferred online form builder.

    Syed Balkhi
    CEO of WPForms

  2. What happens if you don’t have a field named Input Mask? There isn’t anything under the CSS Classes field under Advanced Options?

    1. Hi Dianne,

      I apologize for any trouble with this! When adding an input mask, be sure you’re using a Single Line Text field (this is currently the only field type that allows input masks). Also, this is a more recent feature so be sure that your WPForms plugin is fully up to date.

      If you give this a try and still don’t see the options you’re expecting, please get in touch so we can assist further. If you have a WPForms license, you have access to our email support, so please submit a support ticket.

      Otherwise, we provide limited complimentary support in the WPForms Lite WordPress.org support forum.

      Thanks 🙂

  3. Hi there, in this article: https://wpforms.com/docs/how-to-use-custom-input-masks/

    You use the example input mask for an email address at “mysite.com”

    Mask: *[*{0,50}]@mysite.com
    Example Input: m@mysite.com or supportteam@mysite.com

    But what if your website has the letter “a” in it? For example…

    Using this layer mask: *[*{0,50}]@mydomain.com
    actually renders a field that has a blank for the “a” in domain.
    Example input: _______@mydom_in.com

    How do I format the layer mask so that the entire string “mydomain.com” stays intact?

    Thanks in advance for your help!

    1. Hi Re,

      I’m sorry for the trouble with that! I’ve replicated the issue you described, and shared it with our team to work on a fix. Thanks for letting us know so we can get this resolved! 🙂

  4. Hi there. I want to use the input mask tool to limit the characters entry in some of my fields.

    I’m using this mask: *[*{0,30}].

    However, it doesn’t include the “spaces” as a character.

    What input mask can I use to include the spaces as a character in my 30 characters limit?

  5. I am having the same issue as RE CARLSON

    But what if your website has the letter “a” in it?

    Do you have a fix for this?
    Thanks.

    1. Hi Allan,

      I’ve got good news — we do have a solution for this 🙂

      In order to add an “a” without turning it into part of the input area, you can escape it using `\\`. For example, if you were to enter this as your input mask: `this is \\a test aaa`, it would end up being: “this is a test ___”.

      So just be sure to put that double backslash in from of any A, a, or 9 that you’d like to keep as is (not convert into a _).

      I hope this helps! 🙂

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.