Zoho web to lead

spletcher 10 May, 2009
Max,

I was reading the posts on SalesForce CRM lead capture and trying to apply the same to the Zoho CRM wweb to lead capture. I tried using the CURL plugin but haven't figured it out totally yet.

I first took the <form . . .> </form> tags out and placed this code in the form code. I then added the CURL plugin and added the following fields: First Name Last Name in the plugin General tab. I wasn't sure what to put in the "target URL" field since the form action isn't all in one line.

Here is my web to lead html data which works if placed within in a joomla article: (I've changed some of my hidden values for this forum to protect my CRM account)


<div id='zohoWebToLead' align=center><META HTTP-EQUIV ='content-type' CONTENT='text/html;charset = UTF-8'>

<form action='http://crm.zoho.com/crm/WebToLead' method='POST' onSubmit='javascript:document.charset="UTF-8";' accept-charset='UTF-8'>

<table border=0 cellspacing=0 cellpadding=5 width=480 style='border-top:2px solid #999999;border-bottom:1px solid #999999;background-color:#ffffff;'>

<input type='hidden' name='xnQsjsdp' value=FVnE/>
<input type='hidden' name='xmIwtLD' value=bMwz/>
<input type='hidden' name='actionType' value=TGV=/>
<input type='hidden' name='returnURL' value='http://www.missioneyes.net' /> <br> <tr><td colspan='2' align='left' style='background-color:#f5f5f5;border-bottom:2px dotted #dadada; color:#000000;font-family:sans-serif;font-size:14px;'><strong>Web Form</strong></td></tr><tr><td nowrap style='font-family:sans-serif;font-size:12px;font-weight:bold' align='right' width='25%'>First Name   :</td><td width='75%'>

<input type='text' maxlength='40' name='First Name' /> </td></tr> <tr><td nowrap style='font-family:sans-serif;font-size:12px;font-weight:bold' align='right' width='25%'>Last Name   :</td><td width='75%'>
<input type='text' maxlength='80' name='Last Name' /> </td></tr> <tr><td colspan=2 align=center style='background-color:#eaeaea'>

<input type='submit' name='save' value=Save />     <input type='reset' name='reset' value=Reset /> </td></tr></table> </form></div>
spletcher 10 May, 2009
Max,

I got it to work in the following manner:

I took off the CURL plugin and used "form URL" tab and added my submit URL: http://crm.zoho.com/crm/WebToLead

This did the trick.

My followup question is how to specify the field names if Zoho calls them something different than I'd like to use to also post the same information into Joomla database. The CURL plugin seemed to take care of that with allowing me to specify what they were, however, it didn't work for me.


Stan
GreyHead 10 May, 2009
Hi spletcher,

If you use the OnSubmit URL the info will be transferred to Zoho OK but ChronoForms will never see the submitted data so can't email it or save it. You can change the names by changing the input names in your Form HTML.

Are you sure that the PHP CURL extension is installed on your site? It usually is, but not always.

Bob
spletcher 10 May, 2009
Bob,

Thanks. This is helpful. I do need the info also posted to some joomla tables.

I have the newest version which the plugin CURL installed with the other plugins on the left side. Do I need to check for something else?

I just became a subscriber today. Your forum and component are becoming invaluable to me. thanks again.

Stan
spletcher 11 May, 2009
Wow, you're right - sort of a bad deal after I thought I had it all figured out.

I guess CURL is my only option. I'll wait to see if there is something different I need to do here.
GreyHead 11 May, 2009
Hi spletcher,

Please go to Site Admin | Help | System Info | PHP Information and look for a curl entry like the one below. This is just to check that it is installed on your server.

Bob
spletcher 11 May, 2009
Bob,

I do have it installed then. This is what mine says:

cURL support enabled
cURL Information libcurl/7.19.4 OpenSSL/0.9.8i zlib/1.2.1.2 libidn/0.5.6


What other info can I provide you to troubleshoot?
As I said, if I take out <form ...> </form> in the html form code and place the submit url in the form tabs, it works

but if I place the same submit url in the CURL tab, it doesn't post. Not sure if I missing something.
Max_admin 12 May, 2009
Hi spletcher,

does the plugin is enabled under the plugins tab ?

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 12 May, 2009
please enable Debugging in the plugin and tell me what do you see after the form is submitted, remove any redirect URLs

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
spletcher 13 May, 2009
Max,

I don't think the plugin is running. I don't get any debug results after enabling debug in the plugin only. I do get a debug result when I enable the form debug on the first tab.

Here is the result:

1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [xnQsjsdp] => FVnE*IWzwug$/ [xmIwtLD] => bMwzTu47gBKTK6HS*YtxZW8kTkI-OoiQ/ [actionType] => TGVhZHM=/ [returnURL] => http://www.missioneyes.net [First_Name] => Shelley [Last_Name] => Pletchomo [save] => Save [911aebf0f4385cf41a241d7b54681300] => 1 )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (xxxx)xxxx@missioneyes.net to [email]xxxx@gmail.com[/email]
9. An email has been SENT successfully from (xxxxy)xxxx@missioneyes.net to [email]xxxx@gmail.com[/email]
10. Debug End

If you're interested, I'm glad to hire you or one of the chrono programmers to finish this up and not waste as much time in the forum. I'll be glad to post the results in the forum afterward for others to benefit. Or I'm glad to continue troubleshooting as we're doing.

Thanks,

Stan
GreyHead 13 May, 2009
Hi Stan,

Let me try to take a look, it's difficult to do this by remote control.
[sendfb][/sendfb]
Bob
spletcher 14 May, 2009
thanks Bob,

Sent the form to you as specified. I'm glad to post the results for others here later once we figure out the issue.

Stan
spletcher 18 May, 2009
Wow - bob worked a ton on this and now we have an updated CURL plugin and another helper file that has fixed this issue.

I believe this will be posted soon for anyone else who is working with the CURL plugin.

We essentially have it all fixed with the exception of a minor error code: $ch: Resource id #128

This comes up after the plugin runs, although my data is posted to my outside CRM.

This is huge!!!!!! Thanks a ton Bob!!😀
GreyHead 18 May, 2009
Hi Stan,

Thank you. The error is now fixed and there's an updated version in another thread here.

Bob
pbeckermann 16 Sep, 2010
Is there any tutorial for how to link ChronoForms and ZOHO CRM.
I have tried for about 2 days now, I have CURL installed and working, but the information is not getting posted into ZOHO from the Chrono Form.

Thanks
spletcher 16 Sep, 2010
I don't know if there is a tutorial, but I am currently doing it. Give me some time and I'll try to let you know how I did it.

I set it up over a year ago and it is still working fine!
PrimordiaMktg 19 Jan, 2012
Did anyone get/find/have/wrote a how to on linking the CURL plugin to Zoho CRM? I have been messing with this and hoped for a quick resolution. I have (from what I can tell) everything right but just not seeming to work :?
GreyHead 20 Jan, 2012
Hi PrimordiaMktg,

And what is the debug output that you get?

Bob
PrimordiaMktg 24 Jan, 2012
Sorry for the delay.

This is what I have been getting.

Data Array:

Array
(
[xnQsjsdp] => ejcv0bTaG2E$/
[xmIwtLD] => psYeP2HhKYrbU2piCFejzm-*B6-MHnNR/
[actionType] => TGVhZHM=/
[first_name] => Tester
[last_name] => Testing
[state] => New York
[phone] => 5555555555
[email] => [email]sylvas90@gmail.com[/email]
[submit] => Submit
[b02b3221d7ff31ab7b0baec1b5e40b17] => 1
[option] => com_chronoforms
[chronoform] => ContactUs
[event] => submit
[Itemid] =>
)

Debug Data

curl
CURL OK : the CURL function was found on this server.
$curl_values: First Name=Tester&Last [email]Name=Testing&Email=sylvas90@gmail.com[/email]&Phone=5555555555&State=New York
curl_target_url: https://crm.zoho.com/crm/WebToLeadForm
29
An email has been SENT successfully from (Admin)admin@cobrahelpcenter.com to [email]bfox@cobrahelpcenter.com[/email]
Email template:

First Name: Tester Last Name: Testing State: New York Primary Phone: 5555555555 Email Address: [email]sylvas90@gmail.com[/email]

Submitted by 173.77.207.143
redirect_user
redirect_user_target_url: http://www.cobrahelpcenter.com/contact-us-thank-you
Redirect URL (click to continue):
http://www.cobrahelpcenter.com/contact-us-thank-you
This topic is locked and no more replies can be posted.