Overview

Forms components

Most of the time you'll be using either AutoForm or ValidatedForm, but there are also other form components (rather low-level ones) with different capabilities.

ComponentSelf-generated?Self-managed?Self-validated?
AutoForm✔️✔️✔️
BaseForm✖️✖️✖️
QuickForm✔️✖️✖️
ValidatedForm✖️✖️✔️
ValidatedQuickForm✔️✖️✔️

Fields components

This is a guaranteed set of fields - every theme package will implement these, but also can provide additional ones.

ComponentDescription
AutoFieldAutomatically renders a given field.
AutoFieldsAutomatically renders given fields.
BoolFieldCheckbox.
DateFieldHTML5 datetime-local input.
ErrorFieldError message for a given field.
ErrorsFieldError message with a list of validation errors.
HiddenFieldHidden field (with possibility to omit in DOM).
ListAddFieldAn icon with action to add a list item.
ListDelFieldAn icon with action to remove a list item.
ListFieldList of nested fields.
ListItemFieldSingle list item wrapper.
LongTextFieldTextarea.
NestFieldBlock of nested fields.
NumFieldNumeric input.
RadioFieldRadio checkbox.
SelectFieldSelect (or set of radio checkboxes).
SubmitFieldSubmit button.
TextFieldText (or any HTML5 compatible) input.