SOLVED

Re: Field behaviour on a form - if checked map to a field as false

Go to solution
SanfordWhiteman
Level 10 - Community Moderator

Re: Field behaviour on a form - if checked map to a field as false

adele_briggs
Level 3

Re: Field behaviour on a form - if checked map to a field as false

I have been looking at how to add this JS to the form. I have seen several posts that point to a developer guide, but I don't seem to have an option to add to the embedded code on a form from Form Actions?

 

Thanks

 

SanfordWhiteman
Level 10 - Community Moderator

Re: Field behaviour on a form - if checked map to a field as false

You add the code inside a separate <script> tag, right after the embed code.

 

On a Marketo LP, put the <script> just before the closing </body> tag.

Christiane_Rode
Level 4

Re: Field behaviour on a form - if checked map to a field as false

Just a bit of a note, not so much on the functionality, but on what this checkbox is supposed to do. 

 

Depending on where you're located, someone might consider this to be a "pre-checked box." That the user has to actively opt-out instead of actively opt-in. If you're in Canada, for example, you cannot have pre-checked opt-in boxes. I don't know where you're located, so be sure to check with your legal or compliance teams.

adele_briggs
Level 3

Re: Field behaviour on a form - if checked map to a field as false

Thank you for pointing this out. I did get permission from our DPO that they were happy to proceed with this option.