There are cases where you would want to add to certain questions a link that would allow the respondent to refer to a document that serves as a Help or includes instructions on answering the specific question.
There are various ways to perform it and we will share here 2.
Adding a link to a shared document (Google Docs etc.)
Use the following steps to implement it if your document is a shared document that can be accessed from any common browser:
- Upload the file to a shared folder
- Generate a link that is used to access it from a browser. Assume that this link is
https://myserver/mydoc.pdf
- Add a question place holder to your question text. For example set your question text to be:
Please answer this question carefully. How are....?
{0} - Add this code to your start script of the question
SetTextFormat(CurrQues, "<a href = 'https://myserver/mydoc.pdf' target=\"_blank\"> Help Document </a>");
Adding a link to a document that is attached to the survey
Use the following steps to implement it if you added your document as an attachment to the survey:
- Attach the file to a your Survey
- Add a question place holder to your question text. For example set your question text to be:
Please answer this question carefully. How are....?
{0} - Add this code to your start script of the question
SetTextFormat(CurrQues, "<a href = '\dblstgatc://" + GetAttachmentID("mydoc.pdf")+ "\' target='_blank'> Help Document </a>");
Thats it!
Comments
Please sign in to leave a comment.