Aug 11th, 2011, 10:02 AM
Hi Wout!
Change the last part of your function to this:
What that does is only prevent the form from submitting if there were errors. Otherwise, it explicitly returns true, which lets the form submit.
(and sorry for the long response time!)
All the best -
Ben
Change the last part of your function to this:
Code:
// ...
if (errorInfo.length > 0) {
return false;
}
return true;
}
What that does is only prevent the form from submitting if there were errors. Otherwise, it explicitly returns true, which lets the form submit.
(and sorry for the long response time!)
All the best -
Ben