Forums

Multiple Form Submit

Segellion 04 Jan, 2010
I feel like this question has been asked a dozen times, but as I go through the forum I can never find an answer that satisifies me.

So here's my pickle:

I have a chronoform that sends data to salesforce by using webtolead

In the submit URL I have "https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8"

However what I need is for this form to act as a standard Joomla registration form, but also send out the salesforce data. Now all the form fields are named appropriately for salesforce, and I am 100% sure they work, but as I am already aware whatever I put in the "submit URL" it will remove any other submission functions for the form.

I have tried the redirect plugin, and leaving the "submit URL" empty, and setting the redirects "Target URL," to the salesforce webtolead url mentioned above.

Now the webtolead form didn't use cURL before, and I don't have cURL on my webserver.. so I haven't done anything with that. I hope I don't need to as that adds another level of complexity.

Long story short if I use the redirect plugin it does not send the information to my database nor my salesforce account.

However my regular salesforce form works fine, and my regular registration form works fine. Just trying to get the two to merge is the trick. (both forms are made in chronoforms by the way)


I have read other posts on using salesforce with chronoforms, but they all mentioned using cURL, and I would rather not do that if I don't have to.

Any help is appreciated,

Thank you in advance.
Segellion 05 Jan, 2010
Maybe there's another way to do this. Instead of redirecting to salesforce.. can I redirect my form data to my joomla database? This way I can keep the Submit URL pointing to salesforce, and have the form data go to two places at once?
GreyHead 05 Jan, 2010
Hi Segellion,

Nope, if you use an OnSubmit URL ChronoForms never sees the info so can't do anything with it.

If you don't have cURL installed then the best thing to do is to install or enable it, it comes with most current PHP installations.

Otherwise you could hand-code something with FSock, or perhaps SalesForce has an XML API?

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