W3C home > Mailing lists > Public > www-validator@w3.org > April 2008

Inconsistent errors

From: Allan Smith <tsrplatelayer@googlemail.com>
Date: Wed, 16 Apr 2008 12:21:40 +0100
To: <www-validator@w3.org>
Message-ID: <000001c89fb4$0bf03380$0600000a@Atlantis>
When checking
http://www.telfordsteamrailway.co.uk/newstructure/members/exams.html

I am converting this from a very old script. To XHTML1.0 strict - I know -
don't ask - what the boss wants he gets.

I get 4 errors (same with page valet). 2 are straight forward - just need a
bit of CSS

But the other 2 error have me baffled

Line 59, Column 66: there is no attribute "name" .
../newstructure/members/exams.php" method="get" name="searchForm">

This is in a <form - there are 6 forms on this page, all with the same
construct, but this is the only one that fails - it is also the only one
with "get". 

I know 'name' is deprecated on xhtml strict - but why is this the only one
to fall over?

I will be adding 'id' - but like to have 'id' and 'name') - as I am not sure
- yet - how to use the 'id' instead of the 'name' in the javascript

Line 67, Column 45: there is no attribute "onClick" . .type="button"
value="Search" onClick='submitActForm(document.searchForm, 

This is in an <input type="button" . There are 10 of these all with onClick
- but this is the only one that fails -
should that be 'onclick'? = but why is this the only one to fail?

DUHH - I'm feeling a little thick this morning

Advice appreciated

Allan

 
Received on Wednesday, 16 April 2008 12:25:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:29 GMT