WordPress.org

Ready to get started?Download WordPress

Forums

Easy MailChimp Forms
[resolved] Change attribute "rel" to "data-rel" for W3C HTML5 Validation (2 posts)

  1. klode
    Member
    Posted 1 year ago #

    Hi,
    I'm a Web developer. I try to make page HTML5 Validated, but your plugin use the attribute "rel" on form tag. Is it possible to change it to something like data-rel? It would be graceful for validation.

    another question: a similar problem is found with validation for the attribute "for" on label tags in the form. It's expecting some input element with the "for" value as "name" attribute for this element, but these element are not present...

    Thanks a lot for your help.

    http://wordpress.org/extend/plugins/yikes-inc-easy-mailchimp-extender/

  2. Carlos Zuniga
    Member
    Plugin Author

    Posted 9 months ago #

    We've added additional field validation with better error reporting including mailchimp field validation. We've also change it so the "for" attribute on the label tag to match the "id" of the input instead of the "name" attribute per W3C standards.

    We are currently using the "rel" attribute on the form tag to hook into the Mailchimp list ID. We can add changing it to data attribute ( example: data-rel) in the next version. In the meantime as Web Developer you can always edit the short code_form.php file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic