Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

This field definition has been deprecated since Magnolia 6.0. It is part of the Magnolia 5 UI framework.

For the updated implementation, see Field definition for Magnolia 6 UI instead.

HTML Wrap
alignright
classmenu

Related topics:

A field is an HTML form element that allows a user to perform a task such as enter text, upload an image or select a date. Magnolia ships with a number of fields that should fulfill most needs.

...

Example

This form has four text fields and one checkbox field:

To add a field on your form, define the field inside a tab (see example below). At minimum, a field definition must contain a class or a fieldType property which tells Magnolia what type of field it should render. Set the property value to a valid field definition class name (for class) or to a valid field alias name (for fieldType). All fields support further common properties for defining things such as labels and descriptions.

...

Include Page
_Common field properties - 5 UI
_Common field properties - 5 UI

Field types

Include Page
_field Field definition classes - 5 UI
_field Field definition classes - 5 UI

Transformer classes

Include Page
_Transformer classes - 5 UI
_Transformer classes - 5 UI