Title: Multiple forms &#8211; Checkbox
Last modified: September 16, 2020

---

# Multiple forms – Checkbox

 *  Resolved [fitix](https://wordpress.org/support/users/fitix/)
 * (@fitix)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/multiple-forms-checkbox/)
 * Hi guys, I would like to ask you if it’s possible to have different checkbox 
   setups for multiple forms (Contact Form 7)?
 * **1st form** for EU needs to have checkbox “by clicking SIGN UP you agree to 
   our Privacy policy”. Ive used [mc4wp_checkbox] = integration with CF7 and it 
   works just fine.
    but with **2nd form** for Japan it doesn’t need to have a checkbox
   at all. I’ve created another CF7 form and wanted to use <input type=”hidden” 
   name=”mc4wp-subscribe” value=”1″ /> (instead of [mc4wp_checkbox]), but it doesn’t
   work because I get message “You must accept the Privacy policy before sign up.”
   I found out checkbox is not checked even is set value=”1″. Probably because of
   CF7 integration is set to Pre-check the checkbox = No.
 * Thank you for any tips how to get this working.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/multiple-forms-checkbox/#post-13417495)
 * Hey [@fitix](https://wordpress.org/support/users/fitix/),
 * The error in the 2nd form, does not seem to be related to our plugin. If you 
   remove our code, does the form work?
 *  Thread Starter [fitix](https://wordpress.org/support/users/fitix/)
 * (@fitix)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/multiple-forms-checkbox/#post-13419480)
 * Hi [@hchouhan](https://wordpress.org/support/users/hchouhan/)
 * When I remove <input type=”hidden” name=”mc4wp-subscribe” value=”1″ /> from form,
   I can’t submit lead because I get error that “You must accept the Privacy policy
   before sign up.” – That’s one of the predefined error msgs in CF7.
    Even when
   I try to use <input type=”checkbox” name=”mc4wp-subscribe” value=”1″ /> instead
   and check that box manually, I get the same error message.
 * Don’t know where’s the issue 🤷‍♂️
    -  This reply was modified 5 years, 8 months ago by [fitix](https://wordpress.org/support/users/fitix/).
      Reason: typo
 *  Thread Starter [fitix](https://wordpress.org/support/users/fitix/)
 * (@fitix)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/multiple-forms-checkbox/#post-13419632)
 * [@hchouhan](https://wordpress.org/support/users/hchouhan/) I just realized it’s
   because I use the code suggested by you in this thread [https://wordpress.org/support/topic/make-checkbox-required-in-contact-form-7/](https://wordpress.org/support/topic/make-checkbox-required-in-contact-form-7/)
 *     ```
       /**
        * By default, Contact Form 7 disables HTML5 validation so we can not use the default <code>required</code> attribute.
        *
        * This code uses CF7 logic to ensure that the subscribe checkbox is checked.
        */
       add_filter( 'wpcf7_acceptance', function( $yes ) {
       	if( ! $yes ) { return false; }
       	return ! empty( $_POST['_mc4wp_subscribe_contact-form-7'] );
       });
       ```
   
 * How to modify it just for one CF7 form, not for all of them?
 * Thank you very much
 *  Plugin Contributor [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/multiple-forms-checkbox/#post-13422667)
 * I recommend to ask for support about this in the Contact Form 7 forum, I think
   they will know best over there.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Multiple forms – Checkbox’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Lap](https://wordpress.org/support/users/lapzor/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/multiple-forms-checkbox/#post-13422667)
 * Status: resolved