I. Intro
In Feishu Forms, you can add parameters to a form link to prefill default values for questions or to track submission sources.
250px|700px|reset
II. Steps
- On the Feishu forms, click Publish in the upper-right corner, and then copy the form link.
250px|700px|reset
- Add URL parameters to the form link.
- Format: [Form sharing link]?prefill_ [Question]=[Prefilled value]
- The question after prefill_ must be entered exactly as it is written in the form.
- To prefill default values for multiple questions, use an ampersand (&) to connect them. For example: [Form sharing link]?prefill_Progress=In Progress&prefill_Date=2023/04/01
- Question types that support default values: Multi-line text, single option, multiple options, rating, NPS, date, person, number.
250px|700px|reset
Default value specifications
- To prefill default values that contain special characters, refer to the table below to convert them for the link.
Review the prefilled default values in the form
After the parameters are added, you can paste the link into any browser to check whether the default values have been entered correctly.
Note: The form link has a limit of 16,000 characters. If this limit is exceeded, the default values won't appear in the form.
To share the form using a QR code, open the form sharing link with the pre-filled value parameters in a browser and click Share in the upper-right corner to get the QR code.
250px|700px|reset
Hide default value questions
To hide a question with default values from the form, add &hide_[Question]=1 to the form link. For example, to hide the project manager question, set the form link to: [Form sharing link]?prefill_project leader=Kato&hide_project leader=1.
You can use this method to track the source of responses:
For example, when collecting feedback about an event, you may want to analyze which channels the users are coming from.
Steps:
- Add a question to the form: Source platform.
- Click Publish, set who can fill out the form, and copy the sharing link.
- Add a parameter to the form link. If the link comes from Feishu: [Form sharing link]?prefill_source platform=Feishu&hide_source platform=1.
- Share these links on their respective platforms. The default value helps you track where the form was submitted from.
III. FAQs