Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3744

Label "for" and input "id" do not match

$
0
0

My project is admittedly somewhat complicated, and maybe I've screwed something up along the way. The data is coming from the PHP libraries, and there are several joins that serve to complicate things. That being said, the issue I'm having is that the <label for="_____"> attributes are not matching the <input id="_____"> attributes. They're close, but the difference is between a period and dash:

  • <label data-dte-e="label" class="DTE_Label" for="DTE_Field_items.purchase_date">
  • <input id="DTE_Field_items-purchase_date" type="text">

Any help would be much appreciated for this (albeit relatively minor) inconvenience. Thanks!


Viewing all articles
Browse latest Browse all 3744

Trending Articles