When designing the content of your web screens, you can control the content that is displayed based on the evaluation of a condition. This behavior is implemented using the If widget.

At design time, you specify the content of the true and false branches, and at runtime the condition is evaluated and only one of the alternatives is rendered into HTML on the server side.

Hiding and Showing Branches

During design time, both branches of the If are displayed, but it is possible to display a single one. This is useful when you want to preview how the screen will be displayed to the end-user. To change the default visibility, simply toggle between the available options:

See Also

If Widget Properties