questions - preguntas

hugogil 01 Aug, 2011
Hi, the component is amazing, but i have a few questions, im not php pro and my english is not good too🙂

1.- when i add the {field} in the "dynamic to" not working, but the static works good, I dont know what is the problem

2.- when i add the {cf_id} in the template does not work either

Could you help me? thanx
GreyHead 02 Aug, 2011
Hi hugogil,

In the Dynamic box just use field_name - with no quotes or brackets.

In the Template {cf_id} will only work if it is defined in your form or in a Custom Code action before the Email action. What value do you want to display here?

Bob
hugogil 02 Aug, 2011
Hi I try with de dynamic box like you said and works excellent, thanx!

In the template {cf_id} I want to display the number save in th DB, mmm i want to use like a ticket number (unique) but i dont know how to do that
GreyHead 03 Aug, 2011
Hi hugogil,

Which version of ChronoForms are you using? You can find the version from Site Admin | Extensions | Install/Uninstall | Components in Joomla! 1.5 or Site Admin | Extensions | Extension Manager | Manage in Joomla! 1.6.

Bob
hugogil 03 Aug, 2011
Hi Bob,
im using this version 4.0 RC1.9 , thanx for the reply!🙂
GreyHead 05 Aug, 2011
Hi hugogil,

After the DB Save in CFV4 the data that has been saved to the table is stored in $form->data['chronoform_data'] so you can use
<?php echo $form->data['chronoform_data']['cf_id']; ?>


Bob
hugogil 05 Aug, 2011
thanx for the reply Bob,im using the code you gave me but it does not work, maybe I'm not using as it should be, where I have to add?

thanx for everything,
Hugo Gil
GreyHead 23 Aug, 2011
Hi Hugo,

You can use it in any of the actions after the DB Save action.

Bob
This topic is locked and no more replies can be posted.