Chronoforms + Salesforce + DbSave

Denny87 19 May, 2014
Hi,

I have the following Problem:

I have custom code for my form.
I wan't to save my data in database for e-mail verification (double-opt-in).

I followed this tutorial:
http://www.chronoengine.com/faqs/61-cfv4/cfv4-tutorials/2551-how-can-i-verify-an-email-address.html

I'm getting following Errors after submitting the form:

Parse error: syntax error, unexpected '$', expecting T_VARIABLE in............./administrator/components/com_chronoforms/form_actions/db_save/db_save.php(63) : eval()'d code on line 18

Fatal error: Call to a member function bind() on a non-object in.............../administrator/components/com_chronoforms/form_actions/db_save/db_save.php on line 115

Some of my fields are predifined by salesforce. So i have fieldnames like "0000N231vB".

(Sending data from my form to salesforce without dbsave and email verification is no problem by using curl).

Attached you can see my event list.

Can anyone help?
Thanks!
GreyHead 19 May, 2014
Hi Denny87,

Input names and MySQL column names must begin with a letter so you can't use fieldnames like "0000N231vB" They will give you errors like those you are seeing.

I would give them meaningful names in CF and switch to the cryptic SalesForce ones when you transfer the data.

Bob
fyanko 24 Dec, 2014
We're looking to do a similar integration with Salesforce, any insight or code examples for Salesforce integration would be awesome!

Best regards,

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