The If-Then-Else Statement executes a code block if a specified condition is true. If the condition is false, another block of code can be executed. This statement is part of conditional statements, which are used to perform different actions based on different conditions.
- Text field example
- Choice field example
- Number field example
- Date field example with styled()
In our documentation you will find an illustrated step-by-step guide to the topic “If-Then-Else Statement“:https://docs.ninox.com/en/script/introduction-to-ninox-script/set-conditional-statement