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
Steven RokkalaSteven Rokkala 

Where to Find "Add URL" to list of hosts accessing salesforce Web To Lead

I'm trying to add URL's to salesforce web to lead platform but I'm unsure where to find the setting for this. The example url I would like to be able my salesforce web to lead would be localhost:1000 however i dont know where in the settings I can configure this.
ryanschierholzryanschierholz
Please clarify. If you generate the web-to-lead form code in Salesforce Setup, you paste that HTML into your web page and then it works. Pretty straightforward. 
Baya AdamBaya Adam
My articles is a family member  of guest posting websites which has a large community of content creators and writers.You are warmly welcome to signup and publish a guest post with a dofollow backlink no matter in which niche you have a business. Follow your favorite writers, create groups, forums, chat, and much much more!
 
PriyaPriya (Salesforce Developers) 

Hi Steven,

Kindly refer this article :- 

https://www.oursevenworlds.com/salesforce-blog/salesforce-web-to-lead
https://www.sfdcpoint.com/salesforce/salesforce-web-to-lead/

If the above information helps, please mark it as best answer.
 

Regards,

Priya Ranjan

Steven RokkalaSteven Rokkala
Thank you. I'm getting this error:
 XMLHttpRequest cannot load https://test.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8 due to access control checks.
Failed to load resource: Origin https://localhost:8000 is not allowed by Access-Control-Allow-Origin.

How do I fix this?