Forms for Editors - ViewModel
Render forms in frontend, and collect data from visitors - now using ViewModels
The Forms for editors - ViewModel app is a paragraph app used to publish forms to the frontend. It functions pretty much like the older Forms for editors app but is reimplemented and uses ViewModels for added speed and an improved developer experience.
Forms for editors' functionality is split up into two apps:
- A configurable app where you create forms and view form submits
- A paragraph app to publish forms to the frontend - which is explained here
When attaching this app to a paragraph you have the following settings available:
From the settings you:
- Select a form
- Must be created in the configurable app
- Select a template
- Page uses a page from your solution
- Template uses a custom template, which must also be created beforehand - the template should be placed under
/Templates/Designs/'Your Design'/Forms/Form
.
- If necessary, override the text on the submit button
- Select which settings the form should abide by