Forms

Form Emails and Merge Tags

2 min read

Open Notifal → Forms → Edit → Emails to configure two independent templates for each form.

Email panels

PanelPurpose
Admin notificationAlert when someone submits. Supports multiple recipients separated by ;
Visitor confirmationOptional thank-you email to the submitter email field

Each panel has:

  • An Enabled toggle
  • Subject and message body
  • Format: Plain text (default) or HTML
  • Live preview in HTML mode

Set data-submitter-email-field on the form root (or the matching Form CPT setting) so visitor confirmation knows which field holds the recipient address.

If a form does not override the admin recipient, Notifal uses Settings → Forms → Default admin email.

Merge tags

TagDescription
{site_name}WordPress site title
{site_url}Site homepage URL
{form_title}Form CPT title
{form_id}Form CPT ID
{submission_id}Stored submission ID
{submission_date} / {submission_time}Localized submit timestamp
{admin_email}Notification recipient
{current_year}Calendar year
{all_fields}Plain key/value list
{all_fields_table}HTML table (best for HTML emails)
{field_name}Any configured form field by machine name (for example {email})

Tips

  • Keep secrets out of email bodies that visitors can see.
  • Use {all_fields_table} only in HTML format emails.
  • Test both admin and visitor templates after changing field machine names.