Forums

Salesforce.com Web2Lead form Integration

mnccm 17 Jul, 2010
Hi,

I just downloaded the chronoform module and it looks great. I use Salesforce.com and have some code to capture leads. I'm not sure whether I just paste it into the form html area of chronoform or have to pick bits out e.g. return URL and put them in the different chronoform settings.
I tried pasting the code in as it is but when I press submit to test the process I get "You are not allowed to access this URL" but I don't know which URL it means.

Any help would be very welcome!!!

Thanks🙂
GreyHead 17 Jul, 2010
Hi mnccm,

You need to copy and paste the code **between** the <form . .> and </form> tags - but not the tags themselves.

There are a couple of threads here on posting to Sales Force, I suggest that you check them out.

Bob
mnccm 18 Jul, 2010
Hi Bob

Thanks for your help 🙂

I've pretty much got it working now. I removed the form tags and put the submit url in the Form URLs Submit URL box. The lead appears in Salesforce which is great. The only problem is the redirect URL after the forms submits. I put it in the Forms URL's redirect URL box but the contact form reloads after form submission, not the URL I expected (a thankyou page).
Any idea what I have done wrong? I've had a look through other threads and can't see anything obvious.

Regards

mnccm
GreyHead 18 Jul, 2010
Hi mnccm,

If you use the OnSubmit URL then ChronoForms never sees the Form Results and so the Redirect URL won't work (nor will emails or anything else). Instead SalesForce is setting the return URL and I guess it's just going back to the same URL. There may be an option to set a return URL somewhere in the SalesForce parameters.

Bob
mnccm 18 Jul, 2010
Hi Bob

Thanks for the quick reply! I simply put the salesforce retURL parameter back into the form code and it worked.

Thanks for your prompt help🙂

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