I'm doing a contact form where I use the {cf_id} to identify the emails, like submitting a ticket.
Actually, I have no problem with this code in the email's body, this is the code that I'm using right now
But the problem is that I want it to also be displayed in the email's subject. May someone help me with this issue?
thanx!
Im using joomla 2.5 y CF V4
Actually, I have no problem with this code in the email's body, this is the code that I'm using right now
<?php
$form->data['cf_id'] = $form->data['chronoform_data']['cf_id'];
?>But the problem is that I want it to also be displayed in the email's subject. May someone help me with this issue?
thanx!
Im using joomla 2.5 y CF V4
Hi Bob thanx for the reply, But I still have problems with this
This is the code that I have been using

I have been using it in this array

Also in the dinamic tab on the email section i have been using this

I can't make it display the {cf_id} on the subject
Is there anything missing?
Thanx!
This is the code that I have been using
<?php
$form->data['subject'] = $form->data['chronoform_data']['cf_id'];
?>
I have been using it in this array

Also in the dinamic tab on the email section i have been using this

I can't make it display the {cf_id} on the subject
Is there anything missing?
Thanx!
Hi Hugogil,
Bob
After you have added the Custom Code action you can use subject in the Dynamic tab Subject box as above.
Bob
Hi Bob thanx for replying
I tested it with "subject" but i keep having the same problem.
Any other idea?
What could be wrong?
thanx once again
I tested it with "subject" but i keep having the same problem.
Any other idea?
What could be wrong?
thanx once again
Hi hugogil,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Note: if you are using the Easy Wizard you may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.
Bob
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Note: if you are using the Easy Wizard you may need to switch to the Advanced Wizard to do this; if you want to continue to use the Easy Wizard please make a copy of your form first and add the Debugger action to the copy.
Bob
Thanx Bob
This is the code
Thanx again Bob!
This is the code
Array
(
[option] => com_chronoforms
[tmpl] => component
[chronoform] => ordendecompra
[event] => submit
[Itemid] =>
[Nombre] => Hugo
[Apellido] => Gil
[Teléfono] => 83794311
[Email] => pxxxe@hotmail.com
[Dominio] => prueba
[extension] => .com
[Enviar] => Enviar
[49907371ffb46cf581425b25d853d85f] => 1
[chronoform_data] => Array
(
[cf_uid] => 2c8aca26a5c9740f8400b22420a56dcc
[cf_created] => 2012-07-31 15:22:51
[cf_ipaddress] => 187.156.59.26
[cf_user_id] => 0
[option] => com_chronoforms
[tmpl] => component
[chronoform] => ordendecompra
[event] => submit
[Itemid] =>
[Nombre] => Hugo
[Apellido] => Gil
[Teléfono] => 83794311
[Email] => pxxxe@hotmail.com
[Dominio] => prueba
[extension] => .com
[Enviar] => Enviar
[49907371ffb46cf581425b25d853d85f] => 1
[cf_id] => 80
)
[chronoform_data_cf_id] => 80
[subject] => 80
[cf_id] => 80
)
Validation Errors:
Array
(
)
Debug Data
email
4
Result
An email has been SENT successfully from (System Solution IT)pxxxs@systemsolution.com.mx to pxxx@systemsolution.com.mx,pxxxe@hotmail.com
Body
Nombre Hugo
Apellido Gil
Teléfono 83794311
Email pxxxe@hotmail.com
Dominio que desea contratar
www. prueba
extension .com
Orden de Compra 80
Submitted by 187.156.59.26
Attachments
array ( )Thanx again Bob!
Hi hugogil,
Oh, the Debugger for the standard Email action doesn't show the Subject :-(
What do you see in the Email subject when you receive it.
AS far as I can see this ought to work as long as the Custom Code is before the Email - though having just '80' as the subject is a bit odd.
Bob
Oh, the Debugger for the standard Email action doesn't show the Subject :-(
What do you see in the Email subject when you receive it.
AS far as I can see this ought to work as long as the Custom Code is before the Email - though having just '80' as the subject is a bit odd.
Bob
when the email arrived in the subject appears "Orden de Compra" that's what I typed in the subject on the Static Tab (Email)
And the "80" refers to the 80 tries I have done
Thanx Bob!
And the "80" refers to the 80 tries I have done
Thanx Bob!
Hi hugigil,
Please take out the Static Subject - I suspect that it blocks the Dynamic one.
Bob
Please take out the Static Subject - I suspect that it blocks the Dynamic one.
Bob
This topic is locked and no more replies can be posted.
