# Logical Functions

You can use **concat** and **if-else** formulas in a field.&#x20;

![Formulas "concat" and "ifelse" can be applied to a field](https://351543775-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LC8ka5nvI3WmivYwQ6i%2F-LMBIqmxBQMortM0okIv%2F-LMBIunHx5knGco-2ADQ%2Fscreely-1536731033852.png?alt=media\&token=a0ed1daa-10ac-485f-9c5d-c8271ad382b0)

**concat**: The ‘concat’ function allows you to join text/dynamic input in 1 string. Just select the concat function and add the text/dynamic input you want to concatenate.&#x20;

![You can concatenate text, dynamic inputs or a combination of both](https://351543775-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LC8ka5nvI3WmivYwQ6i%2F-LMBIqmxBQMortM0okIv%2F-LMBJx-Upd4aySsNEsA4%2Fscreely-1536731343228.png?alt=media\&token=03148e9b-41c4-4eaf-b9a0-d43260c8a33a)

**ifelse**: The if-else function allows you to you check a dynamic input for a condition and perform actions based on whether or not they are true. Once you select the ifelse function, a variety of formulas will be available to apply on your dynamic inputs:

![ifelse contains a condition (with logical operators), true\_input and false\_input](https://351543775-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LC8ka5nvI3WmivYwQ6i%2F-LMBIqmxBQMortM0okIv%2F-LMBLEJhwISRfk6gg_Kq%2Fscreely-1536731683143.png?alt=media\&token=ba735a78-7eec-4c20-8a52-4f36a197f929)

* **contains** (checks for whether a string is in a parent string)&#x20;

![An example of "contains" operator](https://351543775-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LC8ka5nvI3WmivYwQ6i%2F-LMBIqmxBQMortM0okIv%2F-LMBLiJvVm3q34HNoDx_%2Fscreely-1536731803308.png?alt=media\&token=d772c0cb-9559-48ff-93f1-bd579774527e)

* **and** (combines 2 conditions such that the function is only true if both conditions are true)&#x20;
* **or** (combines 2 conditions such that the function is true if either condition is true)&#x20;
* **lt** (checks whether the variable on the left is less than the variable on the right)&#x20;
* **gt** (checks whether the variable on the left is greater than the variable on the right)&#x20;
* **lte** (checks whether the variable on the left is less or equal to than the variable on the right)&#x20;
* **gte** (checks whether the variable on the left is greater than or equal to the variable on the right)&#x20;
* **not equal** (compares 2 values and returns True if they are unequal)&#x20;
* **equal** (compares 2 values and returns True if they are equal) expression
