Support » Plugin: Easy Forms for MailChimp » Change attribute "rel" to "data-rel" for W3C HTML5 Validation

  • Resolved klode


    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.

Viewing 1 replies (of 1 total)
  • Plugin Author Carlos Zuniga


    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Change attribute "rel" to "data-rel" for W3C HTML5 Validation’ is closed to new replies.