This package provides a finisher to save form data into the db. The data gets stored formData-records which are grouped by collector-records.
In the backend module you can create/delete collectors. These are needed as destination for the finishers. If a collector has data (a finisher has send it), you can download the data as csv. You can also show the the list of formdata for an collector and delete a single formdata entry.
- Create a collector record in the backend module.
- Add a FormData Finisher to your form and select the collector
- To prevent uuid as data keys give all form elements a speaking identifier
- Submitted forms should not populate formdata-records of the collector
Not testet yet, but should work just by adding the finisher and setting the option "collecor" to an uuid-identifier of a collector record.
composer require internezzo/formdata
Per default only the role Neos.Neos:Administrator is allowed to see the module, create and delete Collectors. You can allow other roles to perform these acttion by granting them the privileges. Have a look into the policy.yaml of this package to see the available privileges.
This is especially useful to prevent captcha form element data from being saved. In your settings:
Internezzo:
FormData:
skipElementTypes:
'Internezzo.Neos:Captcha': TRUE