techniconcept/formfinisher-jsonstore

Neos.Form finisher to store form data in database

2.0.0 2020-01-14 17:01 UTC

This package is not auto-updated.

Last update: 2024-04-17 13:49:18 UTC


README

Let you add a form finisher to store the form data as JSON in the database.

Dependencies

This packages depends on

How to use?

  1. composer require techniconcept/formfinisher-jsonstore
  2. Add the finisher to your form

NodeTypes based form

Add the "JsonStore Finisher" and fill the label and type to retrieve your form.

Fusion based form (with neos/form-fusionrenderer)

Add the following Fusion code:

prototype(TC.FormExample:Content.MyForm) < prototype(Neos.Form.Builder:Form) {

    # ...
    
    finishers {
        jsonStoreFinisher = TC.FormFinisher.JsonStore:Finisher.Definition {
            options {
                storeLabel = 'JsonStore label'
                storeType = 'ch.techniconcept.form-finisher.jsonstore'
            }
        }
    }

    # ...

}

Acknowledgments

Development sponsored by techniConcept.

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.

License

The MIT License (MIT). Please see LICENSE for more information.