Can I use a query string to automatically submit survey responses?
Yes, you can modify the deploy URL for a survey to include a query string that can be used to automatically submit survey responses when used in conjunction with automatically populated survey answers from the same query string or with pre-populated survey answers.
To setup a query string to automatically submit survey responses, follow these steps:
- Click Surveys in the main navigation menu.
- Click the drop down arrow for the survey, and select View; or proceed to the Preview and Deploy step to access the survey URL (via Deploy Survey > Survey URL).
- Once the deploy URL is displayed in your web browser, append the end of the URL as follows:
http://yourdomain.com/s/yoursurveyid?submit=true
to automatically submit the survey using any pre-populated survey answers. - If desired, you can further append the query string with ampersands (&) and automatically populated survey answers as follows:
http://yourdomain.com/s/yoursurveyid?12345=test&submit=true
where "12345" is a Question ID that will be automatically populated with the answer "test" and the survey response will be automatically submitted. Additional questions and answers could be added before the "submit=true" text as needed.