Logic conditions for questions with text input
We offer some questions that accept text input, such as Text box, Multiple Text box, Comment box, Email, and Name. For these questions, participants must type their in input, which can be letters, words, numbers, or even special characters. This type of open-ended questions provide endless answering possibilities, which in turn can make it quite tricky to apply logics for such questions. But we have engineered a few ways for analyzing the answers and triggering a logic flow. For text-based questions, you will have the following conditions, explained further down.
Choosing any of them enables the textbox presented below this choice list, in which you can type one or several items. These items can be any letter, word, phrase, number, or combination of characters.
The following illustration shows different logic conditions for a text based question. You can find further information about each of these options.
starts with
starts with
By choosing this one, you are asking our system to react and trigger the logic, if a participant starts their response with “any” of the items (words, phrases, etc…) that you provide here. In other words, you are putting an “OR” between each item that you type.
or
Type one or more words here…
Of course you can choose to type only one single item. In that case, our system only looks for and reacts to that one specific item.
ends with
ends with
Just like the previous option, anything you type here is the criteria for our system. However this time, the system only cares about how respondents finish their answers. So, if we find “any” one of the items that you have typed in the end of respondents’ input; then we trigger the logic. Just like the previous option, you are putting an “OR” between each item that you type.
or
Type one or more words here…
You can of course choose to type only one single item. In that case, our system only looks that one specific item at the end of the response. If that does exist there, then it reacts.
Please consider that people might end a sentence with a period sign, or exclamation mark, or any other character. You will have to include all possible ways of ending a sentence, if that is the case for your question!
contains any
contains
As the name clearly explains, any of the items that are typed here will be a criteria for our system to react. But this time, these items can be anywhere in the response, at the beginning, in the end, or maybe in the middle of a long text. Here too, you are putting an “OR” between each item that you type.
or
Type one or more words here…
You can of course choose to type only one single item. In that case, our system only looks for that one specific item. If it does exist, then it reacts.
does not contain
does not contain
By choosing this condition, you are asking our system to look for certain words, phrases, numbers, or characters, and if they do NOT exist in respondent’s answer, then trigger a logic. Otherwise, just continue normally. Here as well, you are putting an “OR” between items that you type.
or
Type one or more words here…
You can of course choose to type only one single item. In that case, our system only looks for that one specific item, and if that doesn’t exist in the text, then it reacts.
contains all
contains all of the following
This option is like the previous one, but the difference is that you are putting an “AND” between the items that you type. In other words, you are asking our system to find certain items, but only react if exactly all of them exist in the response text. So even if one of them is not typed by your respondent, the logic won’t be triggered.
&
Type what to match here…
You can of course choose to type only one single item. In that case, our system only looks for that one specific item. If it does exist, then it reacts.
NEXT: logic conditions (rules) for questions with number input