• I have installed the plugin and called it directly inside my custom theme using
    <?php mailchimpSF_signup_form(); ?>
    The form displays perfectly but nothing happens when you click the signup form. The form’s action attribute is simply action="#mc_signup" and the plugin doesn’t seem to be inserting any javascript anywhere.

    Any ideas what could be going wrong or what I could do?

    Another problem I’ve had is trying to include the signup form in the wordpress admin area. I created a page at https://momofishspa.com/wp-content/themes/momo/mailchimp.html which works on its own. I’ve included it in the admin area by doing this:

    add_action('admin_menu', 'add_pages');
    
    function mt_add_pages() {
    	add_menu_page(__('Add Subscriber','Add Subscriber'), __('Add Subscriber','Add Subscriber'), 'read', 'add_subscriber', 'add_subscriber' );
    }
    
    function add_subscriber() {
    	include 'mailchimp.html';
    }

    Similarly, this shows the form in the admin area but the submit button doesn’t react at all when clicked. Really appreciate any help or suggestions, thanks.

Viewing 1 replies (of 1 total)
  • I’m having the same exact issue with my plugin. Did you ever manage to resolve this? My belief is that it’s because my plugin’s form is winding up “nested” inside the form that goes to post.php.

Viewing 1 replies (of 1 total)
  • The topic ‘Submit button not working’ is closed to new replies.