Logic Block Pages: Adding a Logic Block

This article will show you how to add a logic block to a Logic Block Page


Background

Logic blocks are used for a variety of reasons. The most common are: 

  • Terminating Respondents
  • Skipping to questions/pages
  • Setting questions and/or variables

Add a Block

  1. Add your 'Logic Block Page' if you haven't already
    1. See article: Add a Logic Block Page
  2. After you have added your 'Logic Block Page', click on the page itself to open it. This will open logic card on the main screen 

  3. Click on '+ Block' 

  4. In the 'Run Actions' drop-down you can select either:
    1. 'Always' (default) - This will run this logic every time you get to it in the survey 
    2. 'Only If" - This opens up the condition field so you can use utilize a formula 
  5. You can also enter in an optional 'Description' if you need to add a note or reminder for yourself or other person reviewing the project. This is helpful if you as a primary programmer will be out of the office and somebody will be finishing up and testing for you. 

  6. Next use the 'Add Action' menu to select what you are looking to do 


Adding an Action

The following are the actions available to you when using a logic block

  • Set Question
    • This allows you to set a question to a specific response OR use a formula to set it
  • Set Variable
    • Much like 'Set Question', this option allows you to set a variable to a specific response OR use a formula to set it
  • Clear Variable 
    • This option will allow you to blank out a variable
    • The associated 'Clear Randomization' toggle can clear the randomization for that datapoint
  • Clear Question
    • This option will allow you to blank out a question
    • The associated 'Clear Randomization' toggle can clear the randomization for that datapoint
  • Skip 
    • This will allow you to skip to a specific question or page
  • Check Quotas
    • This is used to if you are using overall quotas. This does not work with quota pages as they are their own grid and quota check
  • Terminate
  • Evaluate Concept
    • Allows you to run a concept assignment
  • Call Webhook
    • The WEBHOOK action can be configured to send a POST request to a URL, with an optional arbitrary payload. Both the URL and the payload are parsed for piped formulas like other text content. 
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.