ez.no / ezpublish / documentation / reference / modules / form
These documentation pages are no longer maintained. Please visit the new documentation site.
The form module is one of the simplest modules in eZ publish. It only contains one view, which is the "process" view. This view can only be called using HTTP POST (form action). The process view simply sends out an e-mail containing the data that was posted using input fields. This module does not act as an interface to an engine inside the eZ publish kernel. It only provides a simple form processing mechanism.
Please note that the view that this module provides is insecure by design. This is because it is possible to specify the sender's and the receiver's e-mail address using certain hidden input fields. In other words, it can be easily exploited by spammers. That's why this module is disabled by default. It can be enabled by setting "Module=enabled" in the [FormProcessSettings] block within an override file for site.ini. Hint: by commenting out the sender/receiver lines within the switch statement in "/kernel/form/process.php" it is possible to make this module much more secure than it is by default.
The following table contains a list of the views that are available in the form module. Click on the name of a view for more information about that specific view (usage, parameters, description, examples, etc.).
| Operator | Description |
|---|
Comments