W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2004

Re: Error in script techniques draft [Was: Re: Updated Internal Drafts Published]

From: Matt May <mcmay@w3.org>
Date: Mon, 11 Oct 2004 09:33:22 -0700
Message-ID: <416AB5D2.3050703@w3.org>
To: Martin Honnen <Martin.Honnen@gmx.de>
Cc: "'WAI GL (E-mail)'" <w3c-wai-gl@w3.org>

Martin Honnen wrote:
>   The checkFormFields() function would return true if there are form
>   errors, stopping the submission of the form:
>   <form action="submit.php" onsubmit="return checkFormFields();">
> however that is completely wrong, if you want to use script to cancel 
> the form submission due to errors then you have to return false in the 
> onsubmit handler.

Yes, my mistake. I somehow explained what true did, then what false did, 
then cut the wrong bits while editing.

Received on Monday, 11 October 2004 16:57:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:33:51 UTC