You need to sign in to do that
Don't have an account?

Web to Lead - Pass data back to page
Hi All - We have a situation where we have a public website (not a SF Site) where we capture lead information - web to lead. When the lead gets inserted to SF we are generating a promotion code and emailing that code to the lead...everything works fine. However, our business partners would like that code sent back to the page and displayed on the thank you. The thank you is not a VF page.
Does anyone have any experience passing data back to a non VF page using web to lead?
Any information you can share would be greatly appreciated.
Thank you.
Does anyone have any experience passing data back to a non VF page using web to lead?
Any information you can share would be greatly appreciated.
Thank you.
In HTML you would get a hidden input with name as retURL, in value you would have entered URL. For example, I entered google.co.in.
1. Customer goes to public website and enters personal information including email address and clicks submit.
2. Information sent to Salesforce via Web to Lead functionality.
3. Using a combinations of workflow field update and email alert in Salesforce we generate a promotion code and email that to the customer.
We would like that promotion code to also get sent back to the web page (real-time) so that it can be displayed on that page. Can you explain further how to pass that promotion code value (caputred in custom field on Lead) back to the web page?
Thanks again,
Jason
I don't think there is a straight forward way to do this.
What I can think of is to have a visualforce page embedded in thank you page, which polls for newly created record until it gets the promo code. But not sure how secure it would be!
Thank you for taking the time to try and help me with this.
Jason