Skip to content

Commit

Permalink
FEATURE: Add Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-K committed Mar 27, 2018
1 parent 2be70ef commit 0e06b09
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
===== Wegmeister.DatabaseStorage

This package adds the ability to store values of a form (or other input) into database and export the stored data as xlsx.

To add it as a form finisher you have two options:


== Use DatabaseStorage in an `old fashioned` yaml definition

Add the DatabaseStorage a finisher in your form definition/yaml file.

```yaml
type: 'Neos.Form:Form'
identifier: 'some-identifier'
label: 'My form'
renderables:
# Your renderables / form fields go here

finishers:
-
identifier: 'Wegmeister.Database:DatabaseStorage'
options:
# The identifier is used to group your data in the database.
# You should avoid using the same identifier twice or your data could become a little messed up.
identifier: 'my-form-data'
```
== Use DatabaseStorage with the new Neos Form-Builder
You can also use the DatabseStorage with the new [Neos.Form.Builder](https://github.com/neos/form-builder).
You should be able to simply add DatabaseStorage as a finisher to your formular.
Don't forget to set an (unique) `identifier`!

0 comments on commit 0e06b09

Please sign in to comment.