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
Shawn BoksanShawn Boksan 

PICKLIST DEFAULT VALUES (Web To Lead)

Hello All,

I have some rules built that set the default picklist value to “NO”.  These triggers work when I create a lead manually however, when I use a web to lead form the fields do not default to “NO” they are blank.  How do I fix this?

Thanks,
Shawn
Andy BoettcherAndy Boettcher

The Web to Lead functionality has one goal:  Get data into Salesforce come hell or high water.  Honestly, if this is just a single field that is always set to "NO", just add that to your HTML form and call it a day.  =)

<input type="hidden" name="yourfield__c" id="yourfield__c" value="NO" />