Logic controls how respondents move through a survey:
- Skip logic: skips questions/pages based on responses
- Disqualification logic: terminates surveys for unqualified participants
- Quota logic: manages over-quota routing
- Display logic: shows/hides questions conditionally
Add Skip/Disqualify Logic
When creating a survey, you will need to add disqualification logic. This logic will be attached to any question that includes your member criteria. For example, if you want members to like “Brand A,” you would create “Skip/Disqualify Logic” based on that question. If a member does not choose “Brand A,” you would disqualify the user and add the redirect code as specified below.
To begin, follow the instructions for creating a Content Survey. Once you have created the questions, you’ll add the redirect at the bottom for users who pass the survey and will be redirected to registration (using the same instructions for content redirect in the Post Survey Actions area).
You’ll now need to add the disqualification logic. Below each page, you’ll see a link for “Skip/Disqualify Logic.” Click the link at the bottom of the page that includes the question you want to add disqualification or over quota logic to.
The Skip/Disqualify Logic options will display:
First, enter your logic conditions by using the prompts and options that display as you create the logic.
Once done creating the logic, scroll down to the “If the Logic Passes, send the respondent to” section and select the checkbox next to “External URL” then paste the following URL into the field:
https://util.fuelcyclecore.com/util/surveyGizmo/redirectProxy
NOTE: UK and Canadian servers would require their own domain suffix — .uk or .ca — instead of .com
Next, from “If the Logic Passes, mark the response as ”select “Disqualified”.
You do not need to add the disqualified message in the field here. That will not display to the user, so you can leave it as is. The Disqualified message is set when you create the Recruitment URL.
Now, scroll down to “Variables to Pass (optional)” and select “URL Variable” from the dropdown, then “Add to Field” button.
You’ll now need to add the following:
- Under “URL Variable” put: redirect_url
- Under “Variable Name” put: redirectUrl
Return to the dropdown and select “Static Value (use default)” and click the “Add Field” button THREE times (to add the option three times).
Enter the following into the fields:
There are 3 values to add as follows:
- First line:
- Under “Variable Name” put: qualified
- Under “Default Value (opt)” put: false
- Second line:
- Under “Variable Name” put: reason
- Under “Default Value (opt)” put one of the following: LOGIC or OVER_QUOTA
Note: LOGIC will send the user to the terminated recruitment message. OVER_QUOTA will send the user to the over-quota recruitment message.
- Third line:
- Under “Variable Name” put: disqualifiedStep
- Under “Default Value (opt)” enter whatever text you want here. This will be added to the database and you can use it to help you determine what question was used to disqualify users. Assign a value that is meaningful to you. Do not include brackets { } in this text or it will not save properly.
Continue to add logic as needed for your survey.
Once you've finished adding the logic and redirects, you can continue to style and publish your survey as outlined in the activity survey instructions.