Incorrect warning for new HTML5 <input> form attribute?

Discussion about HTML and XHTML related issues.
Post Reply
PaliGap
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 3
Joined: Sun Sep 26, 2010 2:32 pm

Incorrect warning for new HTML5 <input> form attribute?

Post by PaliGap » Tue Nov 04, 2014 8:21 am

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
Site Admin
Posts: 3427
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 » Tue Nov 04, 2014 1:28 pm

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.
Image
Albert Wiersch

Post Reply