Submit button not working
-
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 simplyaction="#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.
- The topic ‘Submit button not working’ is closed to new replies.