In Microsoft Forms, open text fields are great for entering free-form information. But you run into problems if you want to place restrictions on the data that one enters into that type of field. Microsoft has added a new feature that can help with restricting the type or format of the data entered. Here’s how that looks and works…
When you create a Text field, you can use the ellipsis to place Restrictions on the data used in that field:

For instance, you can restrict the data in that field to be a number:

text that contains or doesn’t contain a particular string:

a minimum or maximum number of characters:

an email address:

or a URL:

And if you set a restriction and the responder doesn’t enter the right type of data, they’ll receive an error similar to what you see here:
