Skip to content

Commit

Permalink
!!! TASK: Do not require form-builder and fusionrenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellienert committed Nov 1, 2019
1 parent b3d6d24 commit 98c9b4b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
40 changes: 21 additions & 19 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,28 @@ filled out, additional field values are introduced which can be used in the foll

# Usage

## Using the flow form configuration

type: 'Neos.Form:Form'
identifier: 'my-form'
renderables:
items:
type: 'Neos.Form:Page'
identifier: 'my-page'
renderables:
name:
type: 'Neos.Form:SingleLineText'
identifier: 'name'
honeyPot:
type: 'DL.HoneypotFormField:HoneypotField'
identifier: 'full_name'

finishers:
spamDetection:
identifier: 'DL.HoneypotFormField:SpamDetectionFinisher'

## Using the Neos Form Builder
**Requires the suggested package neos/form-builder.**

1. Add honeypot form fields (at least one - as many as you like)
2. Add the Spam detection finisher before the finishers, that should use the spam markers.
Expand All @@ -35,25 +56,6 @@ These fields can then be used for example to mark mails as spam:

<img src="Documentation/Images/UseSpamMarker.png" alt="Use the spam marker in email header" width="50%"/>

## Using the flow form configuration

type: 'Neos.Form:Form'
identifier: 'my-form'
renderables:
items:
type: 'Neos.Form:Page'
identifier: 'my-page'
renderables:
name:
type: 'Neos.Form:SingleLineText'
identifier: 'name'
honeyPot:
type: 'DL.HoneypotFormField:HoneypotField'
identifier: 'full_name'

finishers:
spamDetection:
identifier: 'DL.HoneypotFormField:SpamDetectionFinisher'

# Settings

Expand Down
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
],
"license": "MIT",
"require": {
"neos/neos": "^4.1 || ^5.0",
"neos/form-builder": "*",
"neos/form-fusionrenderer": "*"
"neos/neos": "^4.1 || ^5.0"
},
"suggest": {
"neos/form-builder": "Adds a builder for the Flow Form Framework to the Neos CMS backend.",
"neos/form-fusionrenderer": "A Flow Form Framework preset for Fusion based Form rendering."
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 98c9b4b

Please sign in to comment.