• Resolved smams

    (@smams)


    I am using the Contact Form 7 Integration and have 2 forms on my website. On one of these forms I would like to pre-check the checkbox whereas, on the other, I would like the checkbox to be left unchecked. Is this possible to do? Is there a parameter in the shortcode to allow this?

    Many thanks.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Lap

    (@lapzor)

    Hi,

    There is no feature within MC4WP to do this, but as CF7 allows you to just add plain HTML code into the form, you could do this with the Custom integration method.

    First make sure MC4WP > Integrations > Custom is configured (activated and audience selected).

    Then in the CF7 forms you can add this code where you do NOT want to have the checkbox prechecked

      <input type="checkbox" name="mc4wp-subscribe" value="1" />

    And this where you DO want it to be prechecked

      <input type="checkbox" name="mc4wp-subscribe" value="1" checked="checked" />

    Hope that helps. If you have any further questions please let me know.

    Kind regards,

Viewing 1 replies (of 1 total)

The topic ‘Different settings on 2 Contact Forms’ is closed to new replies.