Let you add a form finisher to store the form data as JSON in the database., (*1)
Dependencies
This packages depends on
- ttree/jsonstore to store data into DB
- neos/form-builder for the form ;-), (*2)
How to use?
composer require techniconcept/formfinisher-jsonstore
- Add the finisher to your form
Add the "JsonStore Finisher" and fill the label and type to retrieve your form., (*3)
Add the following Fusion code:, (*4)
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., (*5)
We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us., (*6)
License
The MIT License (MIT). Please see LICENSE for more information., (*7)