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
MicheTMicheT 

Agree to terms of service checkbox on web to lead html

Instead of using the reCaptcha, we have a web form that requires the customer to click "I agree to Terms of Service" button. I have created a field in Salesforce to map this to but I am not sure how to link them in the html. Here is the code I have now:

<input type="checkbox" name="checkbox" value="check" id="agree" /> I agree to Terms of Service

How do I get this to check of the box for this field in Salesforce? Not sure how to map this out. Thanks!