+ Start a Discussion

Web-to-Lead form not generating leads

I've used the Salesforce Web-to-Lead generator to create a W2L form that I've embedded on a site I'm working with. The site was built on ASP.NET, so I've had to adapt how the form's being submitted. That code is:

<input type="submit" name="send" value="Send" onclick="document.getElementById('Form').action='https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8';" />

It seems to work partially - I am taken to the thank you page that I've defined in the code, but the leads never make it to the Salesforce account. Does anybody have experience with using a W2L form in an ASP.NET environment? For the life of me, I can't seem to figure out why the leads don't make it in...
Have a look at the code at the bottom of this page: http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_lead.htm#kanchor384
Thanks for the reply @techcharlie, but I'm not sure I follow? The page you're linking to looks like it's all about using the API, where as in my case I'm using a W2L form right from Salesforce. Could you clarify what specifically you were point to in that link? Thanks!