Forums

Chronoforms5 an dynamic email subject

galbur 16 May, 2014
Hi

I tried do build a dynamic E-Mail Subject with your Tutorial

http://www.chronoengine.com/faqs/52-cfv4/cfv4-emails/2569-how-do-i-create-an-email-subject-using-data-from-the-form.html

But maybe it doesn't work with chronofroms5?

I used this code:

<?php
$form->data['subject'] = "A Message from:  {$form->data['input_first_name']} {$form->data['input_last_name']}";
?>


I have the Email [GH] action (v4). Can i use this with chronoforms5?

Thank you
Chris
galbur 16 May, 2014
Hi
Sorry. I forgot to put "subject" in the dynamic field. No it works perfect!
But still the Question: Can i use [GH] Actions with Chronoforms5?

Thank you
Chris
GreyHead 16 May, 2014
Hi Chris,

Not so far, I have no idea how to adapt them for CFv5. I've seen Max post that it is easy but to me they look very different.

Bob
webgobe 16 Feb, 2015
I know is an old one, but did someone succeeded with this using the latest Chronoforms (5.0.6)???
I'm completely lost here - the Setup screen is completely changed and I don't see where I could add anything to the OnSubmit event...
GreyHead 16 Feb, 2015
Hi webgobe,

You need to use the 'New' Wizard (and not the 'New Simple' wizard, then it will be on the Setup tab.

Max tells me that the Email action in the latest 5.0.6 release will take {input_name} in the Subject box.

Bob
webgobe 16 Feb, 2015
Thanks, will try to enter that, and see if works.
The form was created with 5.0.2's Wizard mode, then the ChronoForms then was upgraded.
Will try to re-create it from scratch, maybe that will help...
Denes
This topic is locked and no more replies can be posted.