Subject Line Variable

Issues related to forms.
Post Reply
johnsmith0251
 
 
Posts: 269
Joined: Mon Aug 20, 2018 6:47 pm

Subject Line Variable

Post by johnsmith0251 »

Is it possible to have the email subject line be a field in the form?

For example, if I want the subject line to always be the name of the person (typed in the name field), could I do this?
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Subject Line Variable

Post by Pablo »

The subject line can also include variables, as described here:
viewtopic.php?t=64476
johnsmith0251
 
 
Posts: 269
Joined: Mon Aug 20, 2018 6:47 pm

Re: Subject Line Variable

Post by johnsmith0251 »

This is awesome! Thanks Pablo!!!!!!!
johnsmith0251
 
 
Posts: 269
Joined: Mon Aug 20, 2018 6:47 pm

Re: Subject Line Variable

Post by johnsmith0251 »

The name of the form field is firstname

so, i put $firstname in the subject line.

Its not working :(

When it comes through, the subject line says $firstname.

link to image showing settings:
https://drive.google.com/file/d/1IA4c4_ ... sp=sharing
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Subject Line Variable

Post by Pablo »

Did you set the email format to rich text or HTML? otherwise variables will not be processed.
johnsmith0251
 
 
Posts: 269
Joined: Mon Aug 20, 2018 6:47 pm

Re: Subject Line Variable

Post by johnsmith0251 »

Ok, that's what I missed. Thank you for pointing that out.
Post Reply