W3C home > Mailing lists > Public > www-validator@w3.org > February 2005

Off Validation Subject

From: Abyss <info@abyss.ws>
Date: Fri, 11 Feb 2005 19:43:33 +1100
Message-ID: <000801c51015$e99faa80$6501a8c0@hawkeye>
To: <www-validator@w3.org>
I know this is off validation subject but i did not know where else to post this...

I wish to validate a form with JavaScript , but the name attribute is not allowed in XHTML 1.1.


What is the correct way to validate form fields with JS?

Regards,


Abyss

ps js code is window.document.userid.value==''

userid = form field name

does anyone have any example codes?
Received on Friday, 11 February 2005 08:45:24 GMT

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