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

  1. klode
    Posted 3 years ago #

    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.


  2. Carlos Zuniga
    Plugin Author

    Posted 2 years 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

  • Easy Forms for MailChimp
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic