Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.
Forms are used for content entry. Forms contain tabs that in turn contain fields. Form content is submitted by executing a form action. You can define a form in a dialog and in the editor component of a detail subapp.
Class: ConfiguredFormDefinition
Here is a form in the detail subapp of the Contacts app .
Node name |
---|
actions |
commit |
cancel |
form |
tabs |
personal |
fields |
salutation |
firstName |
lastName |
fileUpload |
photoCaption |
photoAltText |
address |
photoAltText |
... |
Here's the rendered form.
Properties:
actions
<action name>
: Reference to an action definition that submits the form. The value is the name of the action definition node.form
tabs
<tab name>
: See Tab definition.fields
<field name>
description
: Help text displayed when the user clicks the info button. Optional.i18nBasename
: Message bundle for localized labels. The bundle can be defined at dialog, form, tab or field level. Optional.label
: Product name
or retrieved from the message bundle with a key such as products.product.label
. Use alphanumeric characters in literal values.name
: Name of the form. Optional.