# Conditions Rules

## ⌨️ Condition rules

Conditions rules define a condition that should be evaluated within a [condition group](https://docs.ngsurvey.com/form-management/form-designer/condition-rules/condition-groups). You can have one or more condition rules per [condition group](https://docs.ngsurvey.com/form-management/form-designer/condition-rules/condition-groups).

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBrLHXZnTZbpgDfM92s%2F-MBrTzFKkDKEoKN-Dq-o%2Fimage.png?alt=media\&token=e3c56cf8-7cc2-4a29-807e-8877ff267e5f)

1. Condition type that will be evaluated.
2. Make a copy of the rule.
3. Deletes the rule.
4. Logical operator (AND / OR) to apply if you have multiple condition rules in the same group.

## &#x20;🔅 Condition types

You may use following condition types to build your condition rules.

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBrLHXZnTZbpgDfM92s%2F-MBrTgAb7MEB0lUI1V7G%2Fimage.png?alt=media\&token=52d62d9f-8599-429e-87d5-71aeada66f3f)

* **`Question`**&#x6C;et you define a [question condition](https://docs.ngsurvey.com/form-management/form-designer/condition-rules/conditions-rules/question-conditions) based on the respondent answers to that question.
* **`Score`** rules let you define rules based on the total [score](https://docs.ngsurvey.com/form-management/form-designer/scoring) of the respondent, it can be either the total score at a given moment or a score for specific question.
* **`Panelist attribute`** let you define rules based on the [panelist](https://docs.ngsurvey.com/panels/panelists) that is currently logged in your survey using the the [panel security item](https://docs.ngsurvey.com/form-management/security/security-items/panel-security). A least one panel must be selected in your security item to be able to use that feature. &#x20;
* **`Querystring Variable`** let you define rules based on on a querystring variable value.
* **`Member Of Panel`** let you define rules based on the [panel](https://docs.ngsurvey.com/panels) membership of a respondent. This feature is currently only available with [report filters](https://docs.ngsurvey.com/form-management/reports/filters).
* **`Member Of Panel View`** let you define rules based on the members of a [panel view](https://docs.ngsurvey.com/panels/panel-views). This feature is currently only available with [report filters](https://docs.ngsurvey.com/form-management/reports/filters).
* **`Language`** let you define rules based on the selected [language](https://docs.ngsurvey.com/form-management/form-designer/multi-language-forms) in which the survey is currently running.
* **`Device type`** let you define rules based on device of the respondent mobile, desktop or [PDF](https://docs.ngsurvey.com/form-management/data-export/pdf-acroforms).
* **`Response Date Range`** let you define a range of date with a start date and end date on which the survey was answered . This feature is only with [report filters](https://docs.ngsurvey.com/form-management/reports/filters).
* **`Javascript`** let you develop your own [complex conditions using the javascript](https://docs.ngsurvey.com/form-management/form-designer/condition-rules/conditions-rules/javascript-conditions) language.
* **`Context user`** let you define if the condition will match based on the currently logged user of the [local users security item](https://docs.ngsurvey.com/form-management/security/security-items/local-users-security).&#x20;
* **`Context group`**&#x6C;et you define if the condition will match based on the currently logged user's groups of the [local users security item](https://docs.ngsurvey.com/form-management/security/security-items/local-users-security)
