I am trying to create a subject using static text and data from the form. I found something in the FAQs which should work. But I must be doing something wrong.
Here is the php code I copied from the FAQ and modified for my form.
<?php
$form->data['subject'] = "Website Approval Request for {$form->data['chapter_name']} ";
?>
Chapter_name is the dynamic field I'm trying to include.
I can only get the Default subject.
Also, the FAQ mentions a "custom Email [GH] action." How can a get that?
Thanks,
KKurtz
Here is the php code I copied from the FAQ and modified for my form.
<?php
$form->data['subject'] = "Website Approval Request for {$form->data['chapter_name']} ";
?>
Chapter_name is the dynamic field I'm trying to include.
I can only get the Default subject.
Also, the FAQ mentions a "custom Email [GH] action." How can a get that?
Thanks,
KKurtz
Hi,
Try to change your code to:
The Email GH action and other actions are available on Bob's website: greyhead.net
Regards,
Max
Try to change your code to:
<?php
$form->data['subject'] = "Website Approval Request for {chapter_name} ";
?>
The Email GH action and other actions are available on Bob's website: greyhead.net
Regards,
Max
This topic is locked and no more replies can be posted.