PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

The for attribute of the label element must refer to a form control.

  1. When validating a page which includes a Gravity form for HTML5 I get the following error from W3C:

    The for attribute of the label element must refer to a form control.
    …l class='gfield_label' for='input_1_9'></label><div class='ginput_container'><…

    How can I fix this so my page validates properly?

    Posted 13 years ago on Wednesday October 20, 2010 | Permalink
  2. Can you post a link to your full form so that we can view it?

    Posted 13 years ago on Wednesday October 20, 2010 | Permalink