function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Test TestTest Test 

Pass data in salesforce url and get it back to website from salesforce return url

Hello,


I have created one web-to-lead form in salesforce account.Now i am integrating that form with my website.As user get registered, its data will also be inserted in Salesfoece Lead form and in my website database..now can I pass a variable or an array with the salesfoce action url "https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" in web-to-lead form salesfoece,and can I get that variable or array back when at the time of returning to my website means when it redirect from salesforce to my website using returnurl ??..

 

Thanks..

LVSLVS

No.


The Return URL is configured as a static value. However, it is simply an HTML form. You can try modifying that value through client side scripts like Javascript.

 

SF will simply return to the return URL provided - I don't know if it it will validate it in any manner except perhaps for XSS etc. You can try and let us know!

 

Good luck.

 

~LVS