Versions Compared

Key

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

...

Note: If the ‘to’ argument in both the form and register_form_confirmation_field are given, the ‘to’ argument in form will be overwritten.

Note: The ‘body’ does not accept liquid as an argument.

...

Code Block
{% register_form_confirmation_field 
  subject: "This is an email for {{ submitted_form_fields["'name"''] }}",
  body: "This is the email body", 
  to: "example@email.com" 
%}

...

  • submitted_form_fields similar to the object in that is accessible in the form tag. This allows you to render the submitted fields in the confirmation email.

  • site The same as the site objects inside the Plate templating language

  • form The element that represents the form, so the object used in the for attribute of the form tag.