• Resolved J. Brown

    (@jbrown-1)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter J. Brown

    (@jbrown-1)

    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.

    Aaah!

    Sorry I missed this post!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: MailChimp List Subscribe Form] Mailchimp Plugin wont pass markup validation?’ is closed to new replies.