Forum Discussion
Pre-populate fields in Microsoft Forms via URL parameter?
- Aug 23, 2019Sending context-aware survey invitations and capturing the response with a particular context is a feature of Forms Pro, which can be combined with Flow.
You will find detailed walkthrough articles in Megan Walker blog covering the different steps involved. Here is one of her posts:
https://meganvwalker.com/send-forms-pro-survey-invites-via-csv-file/
Hope Microsoft is reading us :-D
In form settings you can set it to record name, based on their user account, then as Pieter Veenstra mentions you could easily tie up their response with some reference data you have about that individual.
- Ludovic FlochJan 08, 2018Brass Contributor
Hi Steven Collier,
Thanks for taking time to answer.
My need is to allow persons who don't belong to my organisation to be identified.
For example, I create a new form and I add a "UserID" field that reference an ID somewhere else in my organization (CRM, registration form, whatever...).
I send a SMS campaign with a link inside it, like the following one :
https://[my-form-url]?UserID=27
Where UserID reference the field name.
When the person click on this link, the GET parameter is automagically injected into the form, right into the UserID field.
The main objective is to identify the user without asking them to enter manually their ID (mitigating risk of typos, etc...).I hope you see more precisly my needs.
Kind regards,
- Pierre_ALLARIAJul 03, 2023Copper ContributorHi,
I think this is pretty dangerous. Everyone receiving an invitation to fill the form and understanding how the URL is encoded would know how to fill the form for another User ID, just by changing the ID.- Oh_No_Its_MicrosoftDec 07, 2023Brass ContributorIs the risk not minimal in most cases for public surveys? Pairs of large integers as IDs are not dangerous for public surveys because it's trivial to ask another question to discredit the bogus interceptor's masquerade response. An example is when we know the other value in combination eg a one-time pad with two pairs of integers would do this to an acceptable standard for public surveys. The real reason for Microsoft not implementing the passing of variables into Forms is to protect the Dynamics 365 CUSTOMER VOICE cash flow. In other words, it's probably deliberate protectionist coding behaviour at the expense of empowering customers with web technology that's been around for 30 years and should be free. That's why Google has implemented it for free and Microsoft hasn't. (and I'm no fan of Google!) Please Microsoft, don't be hypocritical and listen to the "CUSTOMER VOICE" ! Passing of variables should be free - and this is why many people just go elsewhere instead of Microsoft, because it rarely listens to genuine concerns that would benefit both Microsoft and it's customers. Word up!
- anthony_hallJun 25, 2019Copper Contributor
I need this exact setup also. Using Twilio for people to subscribe and saving their phone number in a database. I want to send a Link to a Form if they choose to fill out more info.
I need to be able to connect the account that was added in the DB to the Form data without having the user input any ID or phone number (because they'll mistype it)
- Jan 08, 2018
I see, some competitive products have this feature (Survey Monkey) but in the implementations I've seen you give them a list of the email addresses you want to invite and they automate the process, this isn't something that Microsoft Forms has at this stage.
I can't really think of a way to build it in Office 365 using tools like PowerApps, the issue is that nearly every service requires users to be logged in.
Microsoft invites suggestions for new features for Forms at https://microsoftforms.uservoice.com, if you get enough support they are keen to build what their users are asking for.
- Ludovic FlochJan 08, 2018Brass Contributor
Steven Collier thank you so much.
The suggestion already exist on Uservoice :-)
https://microsoftforms.uservoice.com/forums/386451-welcome-to-microsoft-forms-suggestion-box/suggestions/18741331-allow-pre-populated-data-via-url-parameter
But I'm gonna up-vote it ;-)
Kind regards,