Introduction
Using the question editor and the filebrowser, you can add a downloadable document (or other file) to a survey. Here are will create a simple survey that allows a panelist to download a instructions document.
NOTE: You can only follow these instruction when you are logged in as System Manager.
Upload a Document to EyeQuestion
If we want to allow a panelist to download a document, the document must be on EyeQuestion or somewhere on the internet. In this case we upload the document to the EyeQuestion server. Make sure you have your instructions document available on your local computer. In EyeQuestion follow the next steps:
1. Go to Administration>File browser.
2. Once the filebrowser is loaded navigate to the "HTML" directory and check if there is a folder named "docs" or "documents". If there isn't a folder with a similar name, create one with the New folder-button.
A new folder can be created by right clicking on html>New Subfolder.
Create a new subfolder and name it: documents
3. When the folder is created we can upload the instructions document. Open the map "documents".
4. Now upload the document to the newly create folder. Click on the upload button and select the instructions file on your local computer.
Attach the Document to a Survey
Now you uploaded your document, you can add the link to your questionnaire.
1. Enter to a project and open the question to which you want to add a link to the uploaded document.
2. You can set a text or use an image as link. In this case we will use a text based link. Enter a text like "Click here to view the document" and click "source" to switch to HTML mode.
In HTML mode you will be able to add special coding like this link.
3. Once we have found the text, we can transform this text into a link by adding some extra info.
We need to surround the text with the following text: <a href="/eq/customer/[directory]/[documentname]">[text for the link]</a>
So, in this example it will result in: <a href="/eq/customer/documents/testdoc.xlsx">Click here for the instruction document</a>
Your Source should look like this:
Once you are finished, click on OK and preview the result.