- From: Matt May <mcmay@w3.org>
- Date: Mon, 11 Oct 2004 09:33:22 -0700
- 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. - m
Received on Monday, 11 October 2004 16:57:19 UTC