There are many uses for survey logic. Let's say, for example, that you only want pizza lovers to take part in your survey. The best way to do this would be to put only 1 question on the first page of your survey. Perhaps something like "Is Pizza the greatest food in the world?" and then offer a multiple choice answer "Yes" or "No". Using our survey logic, you can tell your survey to send everyone who chooses "No" (they don't love pizzas) to the last page of the survey and thank them for their time. Everyone who answers "Yes" (the do love pizzas), can continue on to the actual survey questions on the second page.
Note: As survey logic can sometimes be complicated, we recommend drawing a brief outline on a piece of paper of how the survey will look and which pages and questions will lead to where before you actually create the survey. Make sure that the target QuestionPath page you choose comes after the current page to avoid problems. Otherwise, your users could get caught in an endless loop! Finally, QuestionPath only works on multiple choice type questions.
A similar example, which we'll now describe, asks the survey respondent to agree that their responses can be used in a scientific research study. The first page contains only the multiple choice question with a Yes/No answer. If they agree, they continue on to the second page with the questions. If they don't agree, we send them to the last page and thank them for participating.
- From the "Edit Survey" page, add a multiple choice question. The choices should "Yes" and "No". Make sure the question is marked as "Mandatory". It should look something like the image below.
- Add a new page by clicking on "Page" and then "Add Page After".
Add all of your survey questions on as many pages as you need. For this example, I only have 1 page of questions.
Add a final page to your survey and then include some text thanking the participant.
Now return to the first survey page. Put the mouse over your question and click on the QuestionPath button at the bottom. This will open up the QuestionPath window.
- Under "Choice" (on the left) choose "Yes". If the user agrees to the question, we want them to continue on to the second page. On the right under "Target Page & Question" choose page "2.". Below that choose "[Top of the Page]" to send the user to the top of the second page. If we wanted, we could have them go to any of the questions on the page. Now click on "Add QuestionPath" at the bottom. The window refreshes and the QuestionPath was added to the lower half of the screen.
- Now we'll add a second QuestionPath for when the user declines the first question. Under "Choice" choose "No". Under "Target Page & Question" choose the last page. Underneath choose "[Top of the Page]". Click on "Add QuestionPath" to add this second QuestionPath. We're finished, so click on "Close".
We can see immediately whenever a question has an active QuestionPath because of the curved arrow that is visible on the right. Just click on that to edit or delete the QuestionPath.
PagePath works very similar and often in combination with QuestionPath. If you wanted the user to go directly from page 1 to page 3, then click on "Page" and "Add PagePath". This opens the "Add PagePath" window. Choose the page the user should go to and then click on "Add PagePath". A yellow notice will appear at the top of the page, informing you that PagePath is active on this page.