In the <form> or the submit button, add something like: if (!validationFunction){return false;} Shawn