Set the label of a field.

Parameters

field String (required) - The data name for the field

hidden String,null (required) - The text for the field label, or null to restore the original label

Examples

// Sets the field's label to 'Weather Report'
SETLABEL('weather_summary', 'Weather Report');
// Unsets any override previously set by SETLABEL and uses the original setting from the form schema
SETLABEL('weather_summary', null);