Sets a field to be read-only or editable.
field String (required) - The data name
readOnly boolean,null (required) - Boolean value representing whether the field should be read-only, or
null to restore the original state
SETREADONLY('weather_summary', true); // Sets the field to read only, not editable by the user
SETREADONLY('weather_summary', false); // Sets the field to be active, editable by the user
SETREADONLY('weather_summary', null); // Unsets any override previously set by SETREADONLY and uses the original setting from the form schema
Updated almost 2 years ago
Did this page help you?