Closed openmindculture closed 1 year ago
Customizing Subject and From fields in messages#Customizing Subject and From fields in messages In the Inbound Messages admin menu, you will see there are Subject and From fields. Those fields have the message’s subject, and submitter’s name and email address respectively.
By default, those fields retrieve values from Contact Form 7’s default input fields:
your-subject
,your-name
, andyour-email
. Therefore, if you have modified your contact form and it doesn’t have the default input fields, the Subject and From fields don’t show correct values.In such cases, try customizing those fields as the following:
Open the Additional Settings tab in the contact form editor page, and add lines like these:
flamingo_email: "[the-email-field]" flamingo_name: "[the-name-field]" flamingo_subject: "[the-subject-field]"
You can use plain text and mail-tags in the value for each line. You can also use multiple mail-tags in a line; if you have input fields for first name and last name instead of a single name field, you may want to set up the flamingo_name like this:
flamingo_name: "[first-name-field] [last-name-field]"