Hi Sanford Whiteman,
I was trying to embed this code but stuck with the cssselectors.
cssSelector: '#IsTestContact__c, #Email_was_deleted__c, #ContactReq__c',
Please let me know how to find the Css Selectors in my form. Below is the form i have restrict leads to select not more than 3 options.
<script>MktoForms2.loadForm("//app-sj04.marketo.com", "023-STC-548", 1845);</script>
Thanks is advance.
On that particular form the checkboxes are:
The checkbox groups are dictated by standard CSS selectors, so you can create any groupings you want. You do need to have an entry in the checkboxGroups array for each group.
If all the fields are all within a Checkboxes field you can target them like:
LABEL[for="YourFieldName__c"] ~ .mktoCheckboxList INPUT[type="checkbox"]