The text that is displayed on the Button.
Defines a value to the aria-label of the control for accessibility. For more information see here.
The Button Variants have styles for the following states:
Default - When first rendered without state
Pressed - when the Button is being pressed
Disabled - When the Button is disabled
Focused - when the Button is focused
If the Text on the Button is a phrase, it can be adjusted to one or multiple lines from Style > Override Styles > Text Overflow
Check Common style properties of web controls for further details on how to style your Button Web Control.
This event is run each time the button is clicked.
Metadata about this event can be accessed through the
TRUE the button will be visible. If
FALSE the button will not be displayed. If the field is empty, the button will be visible.
TRUE the button will be disabled and the user will not be able to interact with the control. If
FALSE the button will be enabled. If the field is empty, the button will be enabled.
This example shows a Button with the default style displaying the static text "Click Me".
This example shows a Text Input Control that is bound to the variable
first_name and the button is either enabled or disabled based on whether a value has been entered into the text field.
To do this, use the Is Disabled property with an Airscript expression to check if there's a value.
ISEMPTY( first_name )
first_nameis empty, then Is Disabled = TRUE
first_namehas a value, then Is Disabled = FALSE
See more useful tips and functions to check for empty and null values