Do you expect a certain format of your form submissions? Have you added some warnings and description, but you still keep having some people submitting wrong format?
Input Mask is what will help you with that! Here’s how you can easily set it up:
- Click on the Add Form Element button.
- Select the Short Text element.
- Open the Short Text Properties.
- Click on the Options tab.
- Enable Input Mask option and enter the format you need.
When creating the input mask there are 3 special characters that we can use:
# – to create a placeholder which accepts only numbers in that place
@ – placeholder for a character / letter that can be added in that place
* – placeholder for both characters and numbers at that specific location.

Input mask is basically limiting any input to specify the format that you need but not the format that users might be used to.
Setting up Conditional Input Mask
Limiting the input format through the toolbar is easy to grasp, but what if the format changes across the form as a consequence of user preference on one of the other fields? In this case, conditions are always useful. Let’s assume we’re in the US and want to include international phone numbers, but want to keep domestic numbers as well as local ones.
There are two different ways to achieve that:
1. Create Multiple Fields with Show/Hide Conditions
To achieve that, you will need to create two or more fields for same type of information, one always filled out and other fields are empty.
In our demo this method has been applied for the Address field to show the difference that this setup makes. Here’s the setup:
- Add a Single Choice element as an address selector and 3 Address elements into your form for each type of address.

- Go to the Settings page.
- Select the Conditions tab.
- Click on the Show / Hide Field option.

- After that, create a condition to show the field depending on a selected address type:

Finally, you should setup Show / Hide Condition for each Address field.

2. Create a Conditional Mask on a Single Field
In this way – one field shows us the value all the time, but the format can be changed conditionally.
In our demo this method has been applied for the Phone field to show the difference that this setup makes. If the business is mostly local, it makes sense that the input mask will be set for local phone numbers: 123-1234. However, if someone is not local, but is still domestic, the format would be: (123) 123-1234. And international numbers start with a plus and its own code: +123-123-123-1234.
All other characters that we add are there to help us with the format, meaning that they will always stay there. So for US local number mask, we would enter ###-####, meaning that after the third number there is a minus/dash added for us automatically and 4 more numbers can be accepted.
Other formats:
US Domestic phone numbers: (###) ###-####
International phone numbers: +###-###-###-####
To create the same:
- Go to the Settings page at the top.
- Select the Conditions tab.
- Select Enable / Require Field.

- Set the condition up as per your requirements. Based on our demo, the condition for local numbers would look like on the screenshot below:

- Recreate the steps to add the same conditions for each masking in your form.
There are many different types of information that can be used with content masking on your form, address and telephone number being just one example.
You can see how it all looks like on this form. If you wish, you can also clone the form to your account and check it all.
Of course if you have any questions or need any assistance we would be happy to assist you with the same. All that you would need to do is to let us know about it by creating a new thread or posting a comment here.
Send Comment:
5 Comments:
Would love to see the possibility of conditionally setting up answers of questions, based on answers of previous questions. For the forms I use I can't have people give the same answer to question 2 until 10 as they have given to question number 1. So If a person would answer "A" on question 1, that should result as answer A being eliminated from the future questions.
I'd love to see these full models, but... Erm... The links are not working here, it opens to a blank page.
I have been using JotForms for a while for my business contacts. I converted my contact form to Jotform cards when it debuted and it seemed to work OK for a while. Then some customers said they were not hearing back from me. When I tried sending myself a form, I received a message that basically said: "pay up or else". I'm not impressed - I'm still trying to find out how many customers I lost!!! And this form is all double characters - it's giving me a headache. No longer a fan!
useful! tkx
Depending on which company is chosen from the dropdown list in question #1, I need that company's corresponding address automatically entered in the forms address box, along with company's corresponding phone #'s.
Please help!