Skip to content

Commit

Permalink
Merge pull request #168 from hybridinteractive/develop-v4
Browse files Browse the repository at this point in the history
Adding disclaimer about using the name=message issue.
  • Loading branch information
rosskenney authored Dec 20, 2022
2 parents cb5a3ed + 3b8c9fb commit 725f1df
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 725f1df

Please sign in to comment.