Forum Discussion
Creating a format restriction for a phone number
- Sep 08, 2020
Hi JR2020610
Microsoft Forms doesn't allow for that type of formatting unfortunately.
I'd suggest using the subtitle to show an example of the desired format to help responders fill it in right.
If you were using Power Automate to capture the results, you could also manipulate the number into a the desired format using an Expression.
Hope that helps with some ideas.
Best wishes
Damien
Yes, you can do that using a format restriction or validation rule. If your platform supports regex (regular expressions), you can set a pattern like this:
^\d{3}-\d{3}-\d{4}$ This will only allow numbers in the format 123-456-7890. If regex isn’t available, some tools also let you use input masks or predefined phone number fields to enforce the same format. It really depends on the system you’re using, but most form builders have one of these options.