Generate Web-To-Lead form with Campaign/to set specific Campaign value
Salesforce Web-To-Lead functionality offers an easy way to get the leads from your company websites or public websites (without any integrations) into Salesforce system. Web-To-Lead functionality in Salesforce generates a HTML Form which can be integrated in your company websites, using the HTML form  we can captures the user entered data into Salesforce Lead records.
This Post & Video to Generate Salesforce Web-To-Lead with Campaign/ to set specific Campaign value

This video explained to add the campaign selection from the web to lead form and set specific campaign value in web to lead, saved as html file then entered data has been created as records in Salesforce Lead object with Linking with Campaign and Campaign Member.

Additionally explained about:

Salesforce Standard Object ERD Diagrams (Sales, Service, etc), Object Field Details, to check Object Structure From Schema Builder and checking with Object Fields from Salesforce Developer Console

Important Points:-

  1. from select drop down field in the drop down field name/id should be Campaign_ID
    <select  id=”Campaign_ID” name=”Campaign_ID“>
            <option value=””>–None–</option>
            <option value=”7012v0000029Gmq“>GC Product Webinar – Jan 7, 2002</option>
        <option value=”7012v0000029Gmr”>User Conference – Jun 17-19, 2002</option>
        <option value=”7012v0000029Gms”>DM Campaign to Top Customers – Nov 12-23, 2001</option>
        <option value=”7012v0000029Gmt”>International Electrical Engineers Association Trade Show – Mar 4-5, 2002</option>
        <option value=”7012v000001CiKm”>April 2020</option>
        </select>
    7012v0000029Gmq- here 15 digit ID for Campaign Record Value
  2. hidden field for Campaign_ID is mandatory and change/modify as per the salesforce instance record type id (15 digit id)
    <input type=hidden name=”Campaign_ID” value=”7012v0000029Gmq“>

Related Posts and Series for Salesforce Web-To-Lead: http://theblogreaders.com/salesforce-web-lead/

 

Written by 

Salesforce MVP | Lightning Champion | 16x Salesforce Certified | Application Architect | 6x Trailhead Ranger | Techforce Services | Australia

Leave a Reply

Your email address will not be published. Required fields are marked *

*