field

field

Renders the field with label and hint if requested.

Metadata

Attributes

Name Type Required Default Options Description
label string No   The fields label
labelAlignment string No inline options:inline,block; Used by FarCry Form Layouts for positioning of labels. inline or block.
for string No The fieldname the label is for
class string No string The class to apply to the field wrapping div.
bMultiField string No false Setting this to true, will wrap a div with a class 'multiField', that floats the field correctly, to allow more than just a simple input to be displayed.
hint string No This will place a hint below the field
rbkey string No coapi.field.#rereplace(attributes.label,'[^\w]','','ALL')# The resource path for this field.