Counting items of mail

ertos982 24 Jul, 2012
Hi

I am italian and i don't speak english

you can number with an ID of the sending email?

for example
we start with n. 1
the user fills out the form and receive the email with the text: this is the email N.1

If someone else fill out the form again then it will appear: this is the email N.2

It' s possible??

I'm using the module as a reservation and I need to number the reservation

thank you
ertos982 27 Jul, 2012
GreyHead Thanks for your answers but I have a lot of trouble because I do not speak English well.

See the image attached

I want:
after the user has completed the module receives an email where it says

RESERVATION NUMBER .... 123 (for exalmpe)

Can i whrite this number in this email

<?php
$form->data['cf_id'] = $form->data['chronoform_data']['cf_id'];
echo”$form” ;
?>

????????

can i help me?
GreyHead 27 Jul, 2012
Hi ertos 982,

Put this code in a Custom Code action after the DB Save and before the Email action:
<?php
$form->data['cf_id'] = $form->data['chronoform_data']['cf_id'];
?>

The use {cf_id} in the Email template.

Bob
ertos982 27 Jul, 2012
Thank you GreyHand

I put the code in the template of the email.

When I open my email box I get this text {cf_id}

view the image

thank you
GreyHead 27 Jul, 2012
Hi ertos982,

Put this code in a Custom Code action after the DB Save and before the Email action:


Bob
ertos982 29 Jul, 2012
perfect ... ok !!! πŸ˜€ πŸ˜€ πŸ˜€

Thank you GreyHead
This topic is locked and no more replies can be posted.