Is there a way to do an email and phone number input mask in the text o

  • FosterJames
    Asked on March 24, 2020 at 4:13 PM

    Is there a way to do an email and phone number input mask in the text or number fields?

  • Amin JotForm Support
    Replied on March 24, 2020 at 5:03 PM

    Hi there, @FosterJames!

    Thanks for reaching out to us!

    Kindly be informed that you can surely use input masking which is a JotForm built-in feature that you can easily apply to any of your form inputs, here's how:

    1. Open Form Builder, click on desired text box, click on the "gear icon", then open the "OPTIONS" tab just as shown in the screenshot below.

    Is there a way to do an email and phone number input mask in the text o Image 1 Screenshot 30

    2. Scroll down until you find the "Input Mask" option, make sure to change it to "ON". Now, a new empty box will pop up right next to it. 

    Is there a way to do an email and phone number input mask in the text o Image 2 Screenshot 41

    Example: to restrict user inputs to be on phone number format, you have to set the input mask value to a number of hash symbols "#" that equals phone number digits, therefore if phone number consists of 12 digits, then input mask value should be ############ with no spaces at all.

    For more information on input masking and restrictions, I highly recommend that you read this detailed guide. 

    If you need any further assistance, we will be more than happy to help.