About this article
Not() is a condition that takes a True/False statement as an input and reverses it. True becomes False and False becomes True.
Pre-requisites
|
Syntax
Syntax | {{Not(True/False)}} |
Output | True/False |
Example 1
Using the Not() function to reverse a True/False statement.
Binding | {{Not(True)}} |
Output | False |
Example 2
Using Not() function to reverse the value of a checkbox.
Binding | {{Not(Form.TestCheckbox)}} |
Input | Checkbox is checked |
Condition | True |
Output | False |
Example 3
Using Equals() function to compare two values and Not() to reverse the output.
Binding | {{Not(Equals("this is text", "this is text"))}} |
Condition | True |
Output | False |
Example 4
Using the Not() and Contains() condition with a Lower() function for checking if the text isn't internal and attaching the appropriate disclaimer.
Binding | {{IfElse(Not(Contains(Lower(Form.Body), Lower("external"))), "This document is only for internal use and should not be shared outside the organization.", "This document is external and can be shared.")}} |
Input | Form.Body = "The body of this document is confidential and only used by partners and employees" |
Condition | True |
Output | "This document is only for internal use and should not be shared outside the organization." |
Comments
0 comments
Article is closed for comments.