In this Blog I will be sharing how to create a common Web to lead and Web to case form. You can use this on your website and can be managed through a drop down. Sometimes it is not necessary to create two forms for each on a website.
Before getting into details lets discuss Web to lead and Web to Case functionality in Salesforce.
Web to lead: In Salesforce, Using pre-existing pages on your company’s website, you can capture contact and profile information from users and automatically generate new leads in salesforce.com, enabling you to respond in real-time to customer requests.
Here is the Sample code to capture Leads Continue reading