Label property
EmailReportButton.Label — Text
Represents the label of the button.
If this property is not set, it returns the label set for this button in Calcapp Creator.
Example
Sets the button label to "Send email" if Field1 is valid (by consulting its Valid property). If Field1 is not valid, the button label is set to "Send email ⚠️" (with a warning triangle). You can also consider disabling the button if Field1 is invalid using the Enabled property, or making it invisible using the Visible property.