Conditional
Last updated
Last updated
A Conditional is a control that you can use on your canvas to show information based on a true/false(or unknown) conditional expression.
The conditional can be added onto a template by dragging the conditional icon to the canvas or by drag and drop of a boolean datafield and selecting conditional block. When using a boolean field the conditional is created with the field as condition where the content of the conditional is shown when the boolean field holds the true value.
How to implement Conditionals together with the tabbar has been extensively covered as part of the illustration in the page for Tabbars.
Show when true – when the condition entered returns true, then this part is shown.
Show when false – when the condition entered returns false, then this part is shown.
Show when unknown – when the condition does not evaluate properly - perhaps because a field doesn’t contain data or for some other reason - then this part is shown.