Forum Discussion
Pass parameter via URL to fill the field in form
I have created a survey via Microsoft Forms. This survey should be displayed as webpart in different SharePoint Teamsites. Is it possible to show different content in each teamsite? e.g. via URL of webpart to pass parameter to form to fill in one field automatically?
- You can check out the 'Prefill' feature in this KB to see if it meets your needs - https://techcommunity.microsoft.com/t5/microsoft-forms-blog/pre-fill-responses-in-your-microsoft-forms/ba-p/4144232
4 Replies
- seurpCopper Contributor
Yes, we also have the the demand to call a form in MS forms with predefined values (but dynamically using input parameters).
Background: We are calling the form link from a (in-house developed) tool. Our tool already knows some of the details and when calling the link we would like to prefill the form as much as possible. With this we avoid much double work and the users can already use a prefilled formular.
The easiest way would be if we could use URL parameters to prefill the form. - DingkunXie
Microsoft
You can check out the 'Prefill' feature in this KB to see if it meets your needs - https://techcommunity.microsoft.com/t5/microsoft-forms-blog/pre-fill-responses-in-your-microsoft-forms/ba-p/4144232- YueZhao08Copper Contributorhi Dingkun,
thank you for your suggestion. It works in principle, aber not reliable, because the Prefill data will be saved in browser cach. That mean, if the user make feedback for different surwey in short time, the prefill value shows always the value from first URL. I hope, this feature will be improved in the furture.
Thank you for your answer again!- seurpCopper Contributor
Yes, we also have the the demand to call a form in MS forms with predefined values (but dynamically using input parameters).
Background: We are calling the form link from a (in-house developed) tool. Our tool already knows some of the details and when calling the link we would like to prefill the form as much as possible. With this we avoid much double work and the users can already use a prefilled formular.
The easiest way would be if we could use URL parameters to prefill the form.
UPDATE: This is how it should work: https://www.youtube.com/watch?v=0NJwsdyWcqo