# Conditional Logic

## Conditional Logic

Conditional logic allows you to define rules for properties such as Dynamic Visibility, Interactivity settings and Triggers

<figure><img src="/files/Oe1ifwXQ0gbKVZg7bR2u" alt="" width="363"><figcaption></figcaption></figure>

&#x20;Clicking on the operator brings up a list of the available options, which include:

* equals (=)
* not equal (<>)
* less than (<)
* less than or equal to (<=)
* greater than (>)
* greater than or equal to (>=)
* is empty
* is not empty
* changes *- available for triggers only*

### Compound Conditional Logic

You can configure multiple conditions for Dynamic Visibility, Interactivity and Triggers.&#x20;

To add another condition, click the <img src="/files/iaAflP1ReuQbrYIbliDk" alt="" data-size="line"> button. This will generate another set of inputs for adding a new rule. Additionally, a delete option will appear, allowing you to remove these new rules.&#x20;

<figure><img src="/files/ov9Ufrk9JsUcL9owZoan" alt="" width="279"><figcaption><p>Multiple conditions, with AND option selected</p></figcaption></figure>

After adding another condition, a logic toggle will appear with "AND/OR" options. This selection dictates whether the functionality is activated when all conditions are satisfied (AND) or on an either-or basis (OR). By default, the "AND" option is selected.

{% hint style="info" %}
When multiple conditions exist, they are **all** evaluated along with the AND/OR properties to determine if the condition is met (TRUE) or not.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.squirrel365.io/how-tos/conditional-logic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
