Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The form tag accepts the following arguments:

for
the The Plate object that represents the form. (Required)

to
the The email address where the message is sent. (Required)
This can be:

  1. A string containing one email address, or multiple comma-separated email addresses.

  2. An array containing strings of individual email addresses.

subject

The subject that is used for the email sent to the email filled in at to. (Not required, default: 'Message sent from %{site}')

See https://plate.atlassian.net/wiki/spaces/DOCS/pages/30245050/register+form+confirmation+field for the subject of the confirmation mail.

error_msg
The error message that is used in the ‘request’ object (alert attribute) when the form is invalid and doesn’t get sent. (Not required, default: ‘Something went wrong while sending the message.’)

success_msg
same Same as error_msg, but for the message when the form does send (request attribute: notice). (Not required, default: ‘Thank you for your message. We will reply as soon as possible.’)

...