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

Auto Email from Web-to-Lead Form

We are marketing a webinar through the Predictive Response email tool. When a campaign member status hits Completed we want it to trigger an Email Template (already set up in Salesforce) to be sent. We have added this code in to the form but it's not working. Any ideas how to get this to work? We are using Professional Edition. Here is the code and template part is in red.


<input id="lead_source" type="hidden" name="lead_source" value="Webinar - Adaptive Design, Jan 2010" /> <input id="Campaign_ID" type="hidden" name="Campaign_ID" value="70140000000TCSO" /> <input type="hidden" name="Status" value="Complete" /> <input id="Webinar_Template_1" type="hidden" name="Webinar_Template_1" value="1" /> </form>>


It doesn't quite work that way, it wants the field ID instead.  Try instead going to Setup | Web To Lead, adding that field, and regenerating the W2L page there.  Then copy the input for that field out of there and add it to your page.  It'll be a bunch of numbers and letters in the name and ID fields.