Visitor and user engagement is one of the most reliable ways to judge the performance of a website. FusionCMS includes the means to create and manage forms and their collected responses straight from the control panel.
Creating a Form
You'll first want to give your form a name and description. Description is not a required field, but could be useful for organization and filtering purposes in the Control Panel.
handlefield will mimic the
namefield until you manually update it.
handleis used in generating the storage table used for collecting responses.
Next, choose what set whether or not you want to collect users e-mail and/or IP address. Selecting Collect e-mail address will automatically include a field to your form for collecting emails.
Check Response receipts if you want the user to receive a copy of their form submission.
Next, configure who receives notifications when a response is collected.
You can also provide a reply to e-mail address (optional; default from address will be used if left empty).
Direct where the user will go after their response has been collected.
- Default confirmation page w/ custom message.
- Custom URL (i.e.
Customize templates used to render your form and confirmation page.
Unlike the Matrix, you will add any additional fields to your form from the Fields tab.
Creating a form does not automatically create a page for that form. Instead, forms needs to be rendered within your theme in order to appear.
You may utilize the
@form Blade directive supplied by FusionCMS to render your forms within your theme:
The first parameter is the handle of the form you'd like to render. You may supply a second parameter to override which Blade view file you'd like to render. By default, this will reference the
forms.default Blade view file.