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
Gaurav AgnihotriGaurav Agnihotri 

Can Visualforce page be used for creating leads on Salesforce via force.com site

Hello, 
We have a web to lead functionality in Salesforce and it seems to work fine most of the time. Sometime we exceed the number of web to lead. I was wondering if it is possible to create a visualforce page to caputure leads. 
i would appreciate someone can point me to an example or blog.

Thanks in advance
Gaurav
sfdcMonkey.comsfdcMonkey.com
hi Gaurav
go to below link for some workaround as you want
https://developer.salesforce.com/page/Web2Lead_with_Force.com_Sites
I hop its helps you
Mark it best answer if it helps you so it's make proper solution for others in future:)
Amit Chaudhary 8Amit Chaudhary 8
For Web to lead please check below post
1) https://help.salesforce.com/apex/HTViewHelpDoc?id=setting_up_web-to-lead.htm
The daily limit for Web-to-Lead requests is 500.

For Web2Lead with Force.com Sites please check below post
1) https://developer.salesforce.com/page/Web2Lead_with_Force.com_Sites
2) http://developer.force.com/cookbook/recipe/creating-a-web-to-lead-form-for-your-force-com-site

Please check above both example you will get code with step by step process
Let us know if this will help yuou