Allows the user to select from a range of options.
The name of the variable to be registered for each option. For example, as="myvar" will let you reference $myvar inside the control.
Sets the data column
The datacolumn links the form item to a key used when getting or saving from a component (as defined by the parent form).
Disables the input, preventing user interaction
Focus On Load
If true, this control will attempt to focus itself after the page has loaded. Note that only one element may be focused on the page at a time.
Default = false
Sets the height of the element. The default units are pixels. include the percentage symbol % to user percentage values.
Most form items need a unique id so that they can submit data to the server. No two form items may have the same id. For situations where multiple form items submit to the same field, see the name
attribute. Id's that begin with contact_
will automatically save Contact information to the Contact database as long as the user has entered enough identifying information (ideally Name and Email). Check the Contact Fields
page for correct field names.
The name of the variable to be registered for each option's key.
For arrays of entities from the database (for example getAll()), the keys will be incrementing integers starting at 0.
Sets the name of the form item. Most of the time, the id attribute will suffice. However with form items that post multiple values into an array, each item will need to have the same name, followed by . For example three controls with name="data", will all post into 'data'.
Radio buttons belonging to the same group will have to share the same name.
Restore state on reload
Whether or not the value of the input is persists when the page is revisited.
Default = false
If the value not a contact of the datasource or in the list of options, should it be allowed
Sets the value transformations to be applied to the value of the form item as a comma separated string.
Sets the validations to be applied to the value of the form item as a comma separated string.
Sets the width of the element. The default units are pixels. include the percentage symbol % to user percentage values.