logo
search
Others

How to Restrict Answers to URL Links in Microsoft Forms

Algirdas JasaitisAlgirdas Jasaitis Oct 10, 2026 869 views

Question details

The user wants to know how to restrict text inputs in Microsoft Forms to ensure respondents only submit valid URL links, and whether the default placeholder text can be changed.

How to Restrict Answers to URL Links in Microsoft Forms
Product
Microsoft Forms
Device & OS
not provided
Scenario
Creating a form or survey that requires respondents to provide a website link.
Observed behavior
Microsoft Forms lacks built-in URL validation rules for text questions and does not allow users to modify the default 'Enter your answer' placeholder.
Before you start

Keep in mind that Microsoft Forms does not currently support strict URL formatting validation. You will need to rely on clear instructional text to guide your respondents.

Solution 1Recommended

Use Question Subtitles to Request URL Formats

Since direct URL validation is unavailable, adding a descriptive subtitle is the most effective workaround to instruct respondents to enter a valid link.

While you cannot restrict the text box to strictly accept URLs or change the default placeholder, you can provide explicit instructions right below the question.

1
Add a text question

Open your form in Microsoft Forms and add a new 'Text' question (choose either Short answer or Paragraph depending on your preference).

2
Access question settings

Click the three-dot menu (More settings for question) located at the bottom right corner of the active question box.

3
Enable the subtitle option

Select 'Subtitle' from the dropdown menu. A new text field will appear just below your main question prompt.

4
Enter URL instructions

Type specific instructions into the subtitle field, such as 'Please enter a valid URL link (e.g., https://www.example.com)' to guide your respondents.

Use Question Subtitles to Request URL Formats
Placeholder Text Limitation: This workaround adds instructions below your question but does not replace or hide the built-in 'Enter your answer' placeholder text.
Free Microsoft Office alternative

Looking for a Versatile Office Suite? Try WPS Office

While Microsoft Forms handles survey collection, analyzing form data and drafting reports requires robust office software. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, allowing you to seamlessly view, edit, and analyze exported form data in a familiar interface.

  1. 1. Download the software: Visit the official WPS website and download the free WPS Office installer for your operating system.
  2. 2. Install and launch: Run the installer and follow the simple on-screen instructions to set up the software.
  3. 3. Analyze form responses: Export your Microsoft Forms responses as an Excel file and open it seamlessly in WPS Spreadsheet for deep data analysis.
Fully compatible with Microsoft Excel (.xlsx) for easy form data analysis.Lightweight design that runs smoothly on Windows, Mac, Linux, and mobile devices.Free built-in PDF tools to secure and share your survey reports.Familiar user interface requiring minimal learning curve for MS Office users.
microsoft office alternative - wps office

Frequently Asked Questions

Can I change the default 'Enter your answer' text in Microsoft Forms?

No, Microsoft Forms currently does not provide a feature or setting to customize, replace, or hide the default 'Enter your answer' placeholder text in text fields.

Does Microsoft Forms support Regular Expression (RegEx) validation?

Currently, Microsoft Forms does not support advanced text validation using Regular Expressions. You cannot natively enforce strict URL, email, or custom pattern formatting.

Can I limit the number of characters in a Microsoft Forms text answer?

Yes. While you cannot enforce URL formatting, you can restrict the length of an answer. Click the three-dot menu on your text question, select 'Restrictions', and set specific character limits or numeric parameters.