Form
Magnolia Form module provides a way of creating your own forms, with validation, log and mail functionalities. This module is available in Magnolia 4.0 and higher.
Installing Module
The module comes by default when you install the Standard Templating Kit Module bundle, to install just the Form Module see the general module installation instructions.
Usage & Details
There is a sample contact form in the Standard Templating Kit Module in website/demo-project.
The Module consists of several paragraphs, the form itself and fields that you can add to it.
For the configuration you can define validators form processors.- validators: in the configuration
/modules/form/config/validators, would be executed for the fields you select when you submit the form, i.e. to validate an email field - form processors: in
/modules/form/paragraphs/form/formProcessors, would define the actions to perform when the form is submitted like sending an email, log the form fields. To be able to use the processors you need to set the property enabled to true.