Email Subject line
Customize your notification email subject
subject
subject
There are two ways you can setup Email Subject.
1. Pre-defined Subject
You can add a pre-defined subject by adding a form input
with type="hidden"
along with your subject in value
. See the code below.
2. User Generated Subject
In this case, the subject can be filled by the website visitor. For that, you can use an input type="text"
. See Code below.
The Name attribute must be called subject
3. Custom Subject with User Input Value
You can also customize the subject value to include user submitted value such as their first name. This will be easier to manage in emails when you have multiple emails coming from different users.
Below is a javascript example for creating custom subject. For react, check this example.
Last updated