Label property

Button.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.


"Submit data" & IF(!Field1.Valid, " ⚠️")"Submit data" & IF(!Field1,Valid; " ⚠️")

Sets the button label to "Submit data" if Field1 is valid (by consulting its Valid property). If Field1 is not valid, the button label is set to "Submit data ⚠️" (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.