Page is a not externally linkable
rocknbil - 11:41 pm on Nov 10, 2006 (gmt 0)
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) { Another is return false on the form 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.
Although Fotiman's recommendation is more important, you can squelch this validation error as you said: ACTION="".
// validation code
if (validationOK) { form.submit(); }
return false;
}
<form action="" onSubmit="return false;">