WordPress.org

Forums

MailChimp List Subscribe Form
[resolved] Mailchimp Plugin wont pass markup validation? (3 posts)

  1. J. Brown
    Member
    Posted 3 years ago #

    Hey-

    I've been trying to get a subscription form into a sidebar widget that will pass markup validation. I tried all number of different code pasted into a text widget before discovering the plugin.

    I just installed the mailchimp plugin and it still gives me validations errors.

    "document type does not allow element "input" here; missing one of "ins", "del", "h1", "h2", "h3", "h4", "h5", "h6", "p", "div", "address", "fieldset" start-tag"

    etc. etc. etc.

    Isn't there a way to put a subscription form in a sidebar that will pass mark up validation? Does it matter? Am I just being anal?

    Your council is greatly appreciated.
    Cheers.

    http://wordpress.org/extend/plugins/mailchimp/

  2. J. Brown
    Member
    Posted 3 years ago #

    I figured it out. Drop the plug in. Put the following code into a text widget:

    <form action="http://yoururl.us4.list-manage1.com/subscribe/post?u=*****get this from the embed code when logged in on MC***" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" >
    <p><input type="text" value="" name="EMAIL" class="email" id="mce-EMAIL" />  <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button" /></p>
    </form>

    No validation errors.
    Cheers.

  3. mc_nate
    Member
    Posted 3 years ago #

    Aaah!

    Sorry I missed this post!

    But, very glad to see that you got it sorted out!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MailChimp List Subscribe Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags