• Resolved joshuabrooksher

    (@joshuabrooksher)


    I have been trying to add a check box to the built in forms that came with my theme at http://www.brooksherballet.com to no avail. I inserted the suggested html:

    <label><input type="checkbox" name="mc4wp-subscribe" value="1" />Add me to the mailing list.</label>

    This is added inside the footer.php file of my theme. The surrounding .php is as follows:

    <!-- BEGIN #contact-panel -->
    <aside id="contact-panel">
    	<h4 class="hb-focus-color"><?php echo hb_options('hb_quick_contact_box_title'); ?></h4>
    	<p><?php echo hb_options('hb_quick_contact_box_text'); ?></p>
    
    	<form id="contact-panel-form">
    		<p><input type="text" placeholder="<?php _e('Name', 'hbthemes'); ?>" name="hb_contact_name" id="hb_contact_name_id" class="required requiredField" tabindex="33"/></p>
    		<p><input type="email" placeholder="<?php _e('Email', 'hbthemes'); ?>" name="hb_contact_email" id="hb_contact_email_id" class="required requiredField" tabindex="34"/></p>
    		<p><input type="text" placeholder="<?php _e('Subject', 'hbthemes'); ?>" name="hb_contact_subject" id="hb_contact_subject_id"/></p>
    		<p><textarea placeholder="<?php _e('Your message...', 'hbthemes'); ?>" name="hb_contact_message" id="hb_contact_message_id" class="required requiredField" tabindex="35"></textarea></p>
    		<p><label><input type="checkbox" name="mc4wp-subscribe" value="1" />Add me to the mailing list.</label></p>
    		<a href="#" id="hb-submit-contact-panel-form" class="hb-button no-three-d hb-push-button hb-asbestos hb-small-button">
    			<span class="hb-push-button-icon">
    				<i class="hb-moon-paper-plane"></i>
    			</span>
    			<span class="hb-push-button-text"><?php echo hb_options('hb_quick_contact_box_button_title'); ?></span>
    		</a>
    		<input type="hidden" id="success_text" value="<?php _e('Message Sent!', 'hbthemes'); ?>"/>
    	</form>
    
    </aside>
    <!-- END #contact-panel -->
    
    <!-- BEGIN #hb-contact-button -->
    <a id="contact-button"><i class="hb-moon-envelop"></i></a>
    <!-- END #hb-contact-button -->

    The checkbox displays and appears to function correctly but there is no change made to my subscription lists when tested.

    https://wordpress.org/plugins/mailchimp-for-wp/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter joshuabrooksher

    (@joshuabrooksher)

    Follow up. I am encountering the same behavior in both built in forms on my site as well as the Contact Form 7 from at http://www.brooksherballet.com/faq-support-center/.

    Thread Starter joshuabrooksher

    (@joshuabrooksher)

    Figured out the Contact Form 7 problem. Requires confirmation email was checked and I was not confirming the subscription before checking to see if the list was updated.

    Still stuck on adding the check boxes to the built in theme forms.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello joshuabrooksher,

    We are very sorry for the delay in getting back. We somehow just missed your post. Can you please let us know if you were able to get it to work or still facing issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trouble adding checkbox to built in theme form’ is closed to new replies.