Quote:
Originally Posted by damnamazing
Oh darn. The cookies work great but it messed up my form validation! The form validation was working great before the cookies, now it straight bypasses the validation and lets you submit without alerts.
|
Why should the cookie script do that? I would look for an error somewhere else. You will only set the cookie with the form values after the validation process has completed.
Code:
onsubmit="return validateForm(); if (this.checker.checked) toMem(this)">