I am wanting to use the cf_id and a reference number that is e-mailed out when the form is submitted. What code to I put in the e-mail action that will fetch this value?
Forums
E-mailing the cf_id as a response
Ok, this looks simple enough although my question will now expose my ignorance :-)
I can put the following code into a "custom code" section, in the "on Submit" section but how/what variable do I assign it to so that I can then use it in my e-mail.
My e-mail has the following line it it:
Where I need XXXX to be the cf_id value. I could put a hidden field in the form called "regonumber" and then
But I don't know how to link $form->data['chronoform_data']['cf_id'] and {regonumber}
I can put the following code into a "custom code" section, in the "on Submit" section but how/what variable do I assign it to so that I can then use it in my e-mail.
$form->data['chronoform_data']['cf_id']
My e-mail has the following line it it:
<P> Your registration number is: XXXXX . Please quote this when making payment or following up on queries.</p>
Where I need XXXX to be the cf_id value. I could put a hidden field in the form called "regonumber" and then
<P> Your registration number is: {regonumber}. Please quote this when making payment or following up on queries.</p>
But I don't know how to link $form->data['chronoform_data']['cf_id'] and {regonumber}
Thanks, that worked fine.. I have however since come across your download for unique_id_gh
The zip file would not install so I copied and installed it manually.
I presume that I will need to add a field called "unique_id_gh" or something similar to my database but then what code do I add to the e-mail that I send out?
The zip file would not install so I copied and installed it manually.
I presume that I will need to add a field called "unique_id_gh" or something similar to my database but then what code do I add to the e-mail that I send out?
Hi rcadmin,
I'm away this week and don't remember the details of the action :-(
Please check the Help tab, if the info isn't there then add a debugger after the action and you will see where the I'd has been added to the form->data array.
Bob
I'm away this week and don't remember the details of the action :-(
Please check the Help tab, if the info isn't there then add a debugger after the action and you will see where the I'd has been added to the form->data array.
Bob
Hi, when I tried to installed it via the actions installer, I get
I then installed it manually but it does not appear under the Custom Actions list. Hence I can't see the help tab.
I know that the Custom Actions etc work as I have installed and used your CSV downloader.
Server error
The website encountered an error while retrieving http://www.mysite.school.nz/administrator/index.php. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
I then installed it manually but it does not appear under the Custom Actions list. Hence I can't see the help tab.
I know that the Custom Actions etc work as I have installed and used your CSV downloader.
This topic is locked and no more replies can be posted.