• Resolved fpmortimore

    (@fpmortimore)


    Hi

    I’m using the custom code in my forms which works well but ideally I’d like the opt-in box already ticked in the form i.e. customers would need to untick to opt out. Is that possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @fpmortimore,

    Can you please share with us how you are integration our plugin in your custom form? If you are adding the checkbox HTML, then you can simply modify it to make it checked by default.

    Thread Starter fpmortimore

    (@fpmortimore)

    Hi Harish, thanks for your reply. I’m using this code. How should I change it to make it checked by default.

    <p>
    <label>
    <input type=”checkbox” name=”mc4wp-subscribe” value=”1″ />
    Subscribe to our newsletter. </label>
    </p>

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    To make it checked by default, please use below code:

    <p>
    <label>
    <input type=”checkbox” name=”mc4wp-subscribe” value="1" checked />
    Subscribe to our newsletter. </label>
    </p>
    Thread Starter fpmortimore

    (@fpmortimore)

    Hi Harish

    Thanks for the code however now I no longer have a box but instead I have a field with 1 in it – which wont mean anything to the user. What is the code for a checked box?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automatic opt in’ is closed to new replies.