renderFormControlForObjectField()
Overview
public string function renderFormControlForObjectField(
required string objectName
, required string fieldName
)
Renders a form control suitable for the given object and object field name (property name). Supplied arguments will be passed on to the renderFormControl() method along with the calculated form control type and any other arguments.
Arguments
Name | Type | Required | Description |
---|---|---|---|
objectName | string | Yes | Name of the object whose field you wish to get a form control for |
fieldName | string | Yes | Name of the field (property) on the object that you wish to get a form control for |