Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Does validation failure force quirks mode in IE6?


rocknbil - 11:41 pm on Nov 10, 2006 (gmt 0)


Although Fotiman's recommendation is more important, you can squelch this validation error as you said: ACTION="".

If you're puzzling how to do this AND use client-side Javascript, the answer is to return false from your validation routine. If Javascript is active, it will stop the submit, if it's disabled, users can proceed as intended.

<input type="submit" onClick="return someValidation(this.form);" value="submit">

function someValidation(form) {
// validation code
if (validationOK) { form.submit(); }
return false;
}

Another is return false on the form
<form action="" onSubmit="return false;">

Another grain of info on quirks mode: in FireFox, right click on a page (including THIS forum! :-) ) anywhere not on an element and select View Page Info.

This will reveal the render mode of the page - it will clearly say Quirks mode.


Thread source:: http://www.webmasterworld.com/css/3152684.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com