punktde/form-persistence

Last activity on 11 November 2020
  • 2
  • 7
composer require punktde/form-persistence

Provides a form finisher to save the form data to the database and a backend module to download the data.

1.0.0

Provides a form finisher to save the form data to the database and a backend module to download the data.

Homepage
https://github.com/punktDe/form-persistence
Version
1.0.0
Type
neos-package
Release Date
Jun 10, 2020 9:59:27 a.m.
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
  • neos/form-builder: Adds a builder for the Flow Form Framework to the Neos CMS backend.
Provides
None
Conflicts
None
Replaces
None
MIT 8c345e3d3065e03b9e880d86ea6872ddbaa2185a

PunktDe.Form.Persistence

Form Persistence Finisher with a backend module to download the form-data.

Latest Stable Version Total Downloads License

This package adds a persistence finisher to persist form data into your database. The saved form data can be downloaded as a csv file in the backend at any given time.

Form data is aggregated by the combination of the form identifier and a hash of the form field identifiers.

Installation

composer require punktde/form-persitence

After the successful installation run ./flow doctrine:migrate to initialize the database table.

Usage

Add the SaveFormDataFinisher

Using the flow form configuration

type: 'Neos.Form:Form'
identifier: 'my-form'
renderables:
    ...

finishers:
  saveFormData:
    identifier: 'PunktDe.Form.Persistence:SaveFormDataFinisher'

Using the Neos Form Builder

Require the suggested package neos/form-builder and add the save form data finisher to your node based form in the neos backend.

Download the data using the backend module

A simple backend module is provided to download the form data as CSV. The form version specifies the used fields and their position. With that it is taken care, that if the form changes over time, a separate CSV file with consistent headers and column position is generated.

Example

The content of the readme is provided by Github
The same vendor provides 29 package(s).