How to verify given answers with advanced evaluations
Learn how advanced evaluations help you to verify given answers and use them in branch logic.
When to use
By default each question block offers the most used branch conditions, for example to check if a certain option has been selected. For more advanced conditions based on the respondent's answers, you can use the evaluate condition. Just like the block conditions, you use them to validate if the given answer of a certain question matches your wish(es), but then with some more advanced filters.
Some examples of evaluate conditions:
- If the respondent does not select 'Option C' at the dropdown question 'Question 1', then show this branch;
- If the respondent selects a date in the date question 'Question 2' that's between 'January 1, 2020' and 'January 31, 2020', then show this branch;
- If the respondent gives a rating of '3 stars or higher' at the rating question 'Question 3', then show this branch;
- If the respondent enters an email address that contains '@gmail.com' at the email address question 'Question 4', then show this branch;
- If the respondent does not answer 'Statement 1' of the matrix question 'Question 5', then show this branch.
More logic possibilities
The logic described in this article is an example of what Tripetto can do to make your forms smart. Discover the power of branches for your logic to see all logic capabilities.
How to use
As a demonstration scenario we want to check if a respondent did not select a certain option from a dropdown question.
We already added a dropdown block to our form so our respondents can select an option from that. By default you can now easily create a branch that checks if a certain option has been selected. But in this case we want to do a more advanced condition, namely check if a certain option is not selected.
To do so we create a branch and we add an
Evaluate condition. This opens the evaluate screen right away. In there you can now select the question that you want to evaluate to see the possible evaluation options.
Depending on the question type, you have several compare modes and options to check the value. After you selected the compare mode, you can enter the value that you want to check. In general you can choose between:
Fixed value- A fixed value that you enter in the form builder;
Answered value- A flexible value that your respondent has answered in another question in your form.
For our example we want to execute this branch when the respondent has not selected
Option C. To do so, we configure the following:
Value does not match;
- As comparison select
Textand then select
Now we have setup the branch, we can add the desired follow-up of our form that only will be visible for respondents that have not selected
Option C in the dropdown question.
That's it! The follow-up question will now only be shown to respondents that not selected Option C from the dropdown menu.