Fill in default responses by URL parameter
A URL parameter is the final part of the URL which you can customize for your own use. You can add on your own ending so that a specific answer is chosen for a question that you can specify.
Before sending out your survey with default responses included in the URL, make sure to enable this feature. Go to the Extra Options tab and click Fill in default responses by URL parameter. Now toggle on the feature.
You will need to add the following ending to the survey link: /suffix?qx=y replacing suffix with your survey's suffix, replacing the x with your question number and replacing the y with the position number of the answer option as it is entered into the editor.
The image below shows how to find the x and y value - for the x value you'll need to write the question number, found at the top of each question and use the position number of the answer for the y value. In this example, we want to the option HR to be automatically selected, so we'll need to take 3 as the y value. So the URL parameter in this example would be /suffix?q2=3
It is important to be aware that you MUST use the answer numbers rather than the actual answer text. So using the URL parameter /suffix?qx="HR" does not work.
You can use this feature in combination with randomization of questions and answers.
Continuing with the example from above, the entire survey link, including the URL parameter /suffix?q2=3 will be:
This is how the question will appear to respondents when you send the link with the URL parameter:
Tip: Although the answer is filled in by default, it is still possible for respondents to change or update the selected answer.
Filling in answers by default using URL parameters will only work for the following question types:
- Text Choice
- Image Choice
- Text Slider
- Numeric slider
Note that when multiple answers are possible, URL parameters will not be supported. Also, if the same question is written twice in the URL, the last value will be used.
What if you want to have a few questions filled in automatically? That's no problem! We use the same basic rules for creating the URL parameter, and simply add an & sign between each question, for example: su.vc/suffix?q1=2&q2=3&q3=5
When you turn on the feature to fill in default responses, you will also find the option to Hide questions that are filled by URL parameter. By default the questions are shown, but toggle to hide all questions that are automatically filled in.