MailChimp Widget
[resolved] Submit button not working (2 posts)

  1. rgoins
    Posted 4 years ago #

    Nothing is happening when I click the submit button for my form. I have an idea of what the issue is but am unsure how to resolve it. I wanted to use cufon so I change the submit from an input to button. See below...

    Original Code:
    <input class="button" type="submit" name="<?php echo __($instance['signup_text'], 'mailchimp-widget'); ?>" value="<?php echo __($instance['signup_text'], 'mailchimp-widget'); ?>" />

    New Code:
    <button class="button" type="button" name="<?php echo __($instance['signup_text'], 'mailchimp-widget'); ?>"><?php echo __($instance['signup_text'], 'mailchimp-widget'); ?></button>

    Why would the button quit functioning with this change and how can I continue to use "button" and make it work?


  2. rgoins
    Posted 4 years ago #

    I'm such a reject...I totally didn't realize what I was missing until I pasted the code. I needed to change button type to be "submit" so, now I have the following and it works.

    <button class="button" type="submit" name="<?php echo __($instance['signup_text'], 'mailchimp-widget'); ?>"><?php echo __($instance['signup_text'], 'mailchimp-widget'); ?></button>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MailChimp Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic