Sign up, it's free!

Logic conditions for questions with number input

Currently we offer one question type that accept number as input. This question is called Number Box, and i able to automatically and in real-time, check and verify the answer that respondents are typing in the input box. Therefore, they can only type numbers as answers. Additionally, and you can limit range of the number that respondents are allowed to type.

Since Number Boxes only accept number inputs, we have created a custom set of logic options for them, as explained below. It’s all about simple math, you know…

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 number or combination of numbers.

The following illustration shows different logic conditions for a nubmer based question. You can find further information about each of these options.

Logic Flow #1
IF
survey logic, if answer to the following questionanswer to the following question
*How many pets do you have?
Choose a condition
  • logic rule icon for number based questions (when number is equal to)is equal to
  • logic rule icon for number based questions (when when number is not equal to)is not equal to
  • logic rule icon for number based questions (when number is less than)is less than
  • logic rule icon for number based questions (when nuber is less than or equal to)is less than or equal to
  • logic rule icon for number based questions (when nuber is greater than)is greater than
  • logic rule icon for number based questions (when number is greater than ot equal to)is greater than or equal to
  • logic rule icon for number based questions (when number is within a range)is between
  • logic rule icon for number based questions (when number is not within a range)is not between
Type what to match here…
The example above shows a required question with number input. Conditions (rules) for questions with number input are displayed below the question. Read more about each logic condition further down.
How to:
After choosing any of the options which are explained further down, you get the possibility of adding new items, in the input box right below the options. To create distinct items, just type any number you have in mind and then press the Enter key ↵ (Return key) on your keyboard. This creates one distinct item with what you have just typed.
 
Note:
For logical reasons, some of the options will allow you to add only “one” item! For example, you cannot make a logic like this: “If a number is greater than 5 or greater than 10, then do this and that…”

= equal

is equal to

Here you can type one or several items (numbers), and then our system will look for any of them to trigger the logic. When you choose this condition, you are putting an “OR” between each number that you type.

Logic Flow #1
IF
survey logic, if answer to the following questionanswer to the following question
*How many pets do you have?
logic rule icon for number based questions (when number is equal to)is equal to
1
or
2
Type what to match here…
THEN
Choose an action
The example above shows a required question with number input. Tags which are added by survey creator state that, if a respondent types the numbers 1 or 2 as answer, this survey logic rule shall be triggered.
Note:

Of course you can choose to type only one single number. In that case, our system only looks for and reacts to that one specific number.

≠ not equal

is not equal to

For this condition too, you can have one or several items (numbers). Our system will look for them, and if participant’s input is not similar to your items, then it triggers the logic. When you choose this condition, you are putting an “OR” between each number that you type.

Logic Flow #1
IF
survey logic, if answer to the following questionanswer to the following question
*How many pets do you have?
logic rule icon for number based questions (when when number is not equal to)is not equal to
1
or
2
Type what to match here…
THEN
Choose an action
The example above shows a required question with number input. Tags which are added by survey creator state that, if a respondent types anything except 1 or 2 as answer, this numerical logic rule shall be triggered.
Note:

You can of course choose to type only one single number. In that case, our system only looks that one specific number, and reacts if that’s what your respondent types.

< less

is less than

For this condition, you are allowed to add only one item (number). Then our system will trigger the rule, if a participant types a number which is smaller than the number that you put in.

Logic Flow #1
IF
survey logic, if answer to the following questionanswer to the following question
*How many pets do you have?
logic rule icon for number based questions (when number is less than)is less than
5
THEN
Choose an action
The example above shows a required question with number input. Tags which are added by survey creator state that, if a respondent types a number which is smaller than 5 (but not number 5 itself), this logic rule shall be triggered.
Note:

You can only type one single number here for this option.

≤ less or equal

is less than or equal to

For this condition, you are allowed to add only one item (number). Then our system will trigger the rule, if a participant types a number which is exactly similar to, or smaller than the number that you put in.

Logic Flow #1
IF
survey logic, if answer to the following questionanswer to the following question
*How many pets do you have?
logic rule icon for number based questions (when nuber is less than or equal to)is less than or equal to
2
THEN
Choose an action
The example above shows a required question with number input. Tags which are added by survey creator state that, if a respondent’s answer is 2 or a smaller value, this survey logic rule shall be triggered.
Note:

You can only type one single number here for this option.

> greater

is greater than

For this condition, you are allowed to add only one item (number). Then our system will trigger the rule, whenever a participant types a number which greater than the number that you put in.

Logic Flow #1
IF
survey logic, if answer to the following questionanswer to the following question
*How many pets do you have?
logic rule icon for number based questions (when nuber is greater than)is greater than
5
THEN
Choose an action
The example above shows a required question with number input. Tags which are added by survey creator state that, if a respondent’s answer is greater than 5 (but not number 5 itself), this logic rule shall be triggered.
Note:

You can only type one single number here for this option.

≥ greater or equal

is greater than or equal to

For this condition, you are allowed to add only one item (number). Then our system will trigger the rule, whenever a participant types a number which is exactly similar to, or greater than the number that you put in.

Logic Flow #1
IF
survey logic, if answer to the following questionanswer to the following question
*How many pets do you have?
logic rule icon for number based questions (when number is greater than ot equal to)is greater than or equal to
5
THEN
Choose an action
The example above shows a required question with number input. Tags which are added by survey creator state that, if a respondent’s answer is 5 or a larger number, this logic rule shall be triggered.
Note:

You can only type one single number here for this option.

·{✓}· is between

is between

For this condition, you are allowed to add only one item (number) for the minimum value, and one item for the maximum value. Then our system will trigger the rule, whenever a participant types a number which is within that range.

Logic Flow #1
IF
survey logic, if answer to the following questionSUM of the following question(s)
*How many pets do you have?
logic rule icon for number based questions (when number is within a range)is between
5
and
10
THEN
Choose an action
The example above shows a required question with number input. Tags which are added by survey creator state that, if the sum of respondent’s answer is between 5 and 10, this logic rule shall be triggered.
Note:

The Min and Max numbers that you put in are also considered to trigger the logic. So in this example, we are asking the system to react, if the sum is ≥ greater or equal to 5, AND, ≤ less or equal to 10.

·{✕}· is not between

is not between

For this condition, you are allowed to add only one item (number) for the minimum value, and one item for the maximum value. Then our system will trigger the rule, whenever a participant types a number which is within that range.

Logic Flow #1
IF
survey logic, if answer to the following questionSUM of the following question(s)
*How many pets do you have?
logic rule icon for number based questions (when number is within a range)is not between
5
and
10
THEN
Choose an action
The example above shows a required question with number input. Tags which are added by survey creator state that, if the sum of respondent’s answer is NOT between 5 and 10, this logic rule shall be triggered.
Note:

The Min and Max numbers that you put in are also considered to trigger the logic. So in this example, we are asking the system to react, if the sum is ≤ less or equal to 5, OR, ≥ greater or equal to 10.


NEXT: logic conditions (rules) for questions with choice input