# 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.

**number input**. Conditions (rules) for questions with number input are displayed below the question. Read more about each logic condition further down.

**number**you have in mind and then press the (Return key) on your keyboard. This creates one distinct item with what you have just typed.

## = 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.

**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.

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.

**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.

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.

**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.

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.

**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.

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.

**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.

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.

**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.

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.

**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.

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.

**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.

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