May 20, 2004 #1 meeble Programmer Sep 24, 2002 137 GB I thought this was right: onsubmit="return checkban(); return(checkSubmit())" but it just does the first one. Thanks James
I thought this was right: onsubmit="return checkban(); return(checkSubmit())" but it just does the first one. Thanks James
May 20, 2004 1 #2 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB Of course it will - because the return statement returns control, and thus the second statement never executes. Try something like this: Code: onsubmit="return (checkban() && checkSubmit());" Hope this helps, Dan Upvote 0 Downvote
Of course it will - because the return statement returns control, and thus the second statement never executes. Try something like this: Code: onsubmit="return (checkban() && checkSubmit());" Hope this helps, Dan