Skip to content

Commit

Permalink
Adding disclaimer about using the name=message issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosskenney committed Dec 20, 2022
1 parent c70e4b6 commit 3b8c9fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ When you overwrite the email templates, your twig view will receive a `submissio
- message
- attachment

Note: All of the overrides will use the message as an array and therefore if you want a message field it would be `name=message[message]`. If a `name=message` is used it will wipe out the array of overrides.

## Overriding the form name

When saving submissions to the database the default form name will be "Contact". If you add a `message[formName]` hidden field you can override the form name. This can also used to create multiple form indexes in the Control Panel.
Expand Down

0 comments on commit 3b8c9fb

Please sign in to comment.