rbf_getFieldContext()
Purpose
For any field in an object record form on a new, edit, status change, or quick create page, this function returns a FieldContext object for that field. The FieldContext object encapsulates state and behavior details for the associated field. See FieldContext for more information about the FieldContext object and its interface.
Note: This API and the FieldContext object are only available in the New UI.
Syntax
rbf_getFieldContext(fieldIntegrationName)
Parameters
fieldIntegrationName
The integration name of the field
Note: This API is not supported in portals.
Example
The following example obtains the FieldContext object for a field with the integration name "city".
var cityFieldContext = rbf_getFieldContext('city');