Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.
Form module allows you to create forms that provide validation, log and mail functionality. The module provides pre-configured form templates for easy creation of customized and standard form types (contact etc.) forms. Multiple form elements that belong together, such as address fields, can be grouped. Form data can be validated using configurable validators. Sections and elements in a form are set using component definitions. Note that forms adhere to business logic largely defined by W3C Recommendations. Form component definitions and their corresponding dialog definitions are configured in the Configuration app > modules/form/templates/components
and /form/dialogs
.
Node name | Value |
---|---|
modules | |
form | |
config | |
templates | |
components |
|
form | |
formEdit | |
formStep | |
formHidden | |
formSubmit | |
formSummary | |
formPassword | |
formHoneypot | |
formGroupEdit | |
formCondition | |
formSelection | |
formGroupFields | |
formGroupEditItem | |
dialogs |
form
formFile
formEdit
formStep
formHidden
formSubmit
formSummary
formPassword
Users are allowed to enter HTML-like characters such as ampersand (&) into the password field. You can control HTML escaping with the escapeHtml
property in the component definition. For the password field this property is set to false
by default and will not escape HTML characters.
formHoneypot
Group Name
field that does not render on the page. Assign this name to reference the group with FreeMarker tags.formGroupEdit
formSelection
title
field, useful to distinguish field sets or include introductory text.formGroupFields
formGroupEditItem