> I couldn't find in the HTML 5 spec where it talks about the form > element's onsubmit event, but previously the typical form validation was > onsubmit="return validationFunction()". However, this gives a validation > error: > > /Line 8, Column 31/: Bad value return false for attribute onsubmit on > element form: invalid return > > <form onsubmit="return false"*>* I found an example under scripting: http://www.w3.org/TR/html5/scripting-1.html. The example code on that page is: <form name="pricecalc" onsubmit="return false"> That example is marked as an error by the validator.Received on Saturday, 22 January 2011 22:15:56 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:45 GMT