[Javascript] Credit card page, processing before it's ready

coldfusion.developer at att.net coldfusion.developer at att.net
Tue Aug 31 10:33:06 CDT 2004


I'm using ... <input type="Submit" value="Submit Order" OnClick="CheckCardNumber(this.form)">
So I would want it to look like ... ???
<input type="Submit" value="Submit Order" OnClick="if (!validationFunction()){return false;}">

Thank you!  Thank you!

-------------- Original message from "Shawn Milo" : -------------- 

> Oops, mistake. 
> 
> if (!validationFunction()){return false;} 
> 
> It won't work the way I typed it in my first e-mail. 
> 
> Shawn 
> 
> > In the 
or the submit button, add something like: 
> > 
> > if (!validationFunction){return false;} 
> > 
> > Shawn 
> > _______________________________________________ 
> > Javascript mailing list 
> > Javascript at LaTech.edu 
> > https://lists.LaTech.edu/mailman/listinfo/javascript 
> > 
> > 
> _______________________________________________ 
> Javascript mailing list 
> Javascript at LaTech.edu 
> https://lists.LaTech.edu/mailman/listinfo/javascript 



More information about the Javascript mailing list