Label property

SwitchField.Label — Text

Represents the label of the field, which is normally shown to the left of the value.

If this property is not set, it returns the label set for this field in Calcapp Creator.


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

Sets the field label to "Value" if Field1 is valid (by consulting its Valid property). If Field1 is not valid, the field label is set to "Value ⚠️" (with a warning triangle).