How to Restrict Answers to URL Links in Microsoft Forms
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.

- 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.
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.
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.
Open your form in Microsoft Forms and add a new 'Text' question (choose either Short answer or Paragraph depending on your preference).
Click the three-dot menu (More settings for question) located at the bottom right corner of the active question box.
Select 'Subtitle' from the dropdown menu. A new text field will appear just below your main question prompt.
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.

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. Download the software: Visit the official WPS website and download the free WPS Office installer for your operating system.
- 2. Install and launch: Run the installer and follow the simple on-screen instructions to set up the software.
- 3. Analyze form responses: Export your Microsoft Forms responses as an Excel file and open it seamlessly in WPS Spreadsheet for deep data analysis.

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.




