You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, that’s not possible via the plugin’s settings. The “Subject Text” will be prepended to the email’s Subject to flag that it comes from the Contact Form. So, if you have your “Subject Text” set to “New message from My Website” and the person filling out the form sets the subject to “About Something”, the subject will be: “New message from My Website - About Something”.
You can, however, manipulate the subject via Mailer::EVENT_BEFORE_SEND event (from a module or a plugin):
Description
In the contact form plugin settings I'd like to be able to assign field variables to the subject text along the lines of this
New message from { message.fromName ?? 'No Name' } Company Website name contact form
I tried the above but it just outputs the text and not the value of the form field.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: