Incorrect warning for new HTML5 <input> form attribute?

For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
Post Reply
PaliGap
Rank 0 - Newcomer
Posts: 3
Joined: Sun Sep 26, 2010 2:32 pm

Incorrect warning for new HTML5 <input> form attribute?

Post by PaliGap »

Here is a piece of HTML5 code:

Code: Select all

<form id="form1" method="post" action="#"></form>
<input type="text" name="test" form="form1">
<input name="save" type="submit" id="save" value="save" form="form1">
In CSE 14.05 I get a warning: "This form does not appear to contain a submit control". But surely it does! (But by using the new way of hooking up <input> elements to their parent <form> via ID). Or am I missing something?
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Incorrect warning for new HTML5 <input> form attribute?

Post by Albert Wiersch »

Thanks!

You are right. CSE HTML Validator isn't considering that method of specifying a submit control. I will address this for v15.

UPDATE: Fixed in upcoming v15 release.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply