Ok, here's the code: <FORM name="entry" METHOD="POST" ACTION="dbentry2.asp" onSubmit=''return needToValidForm1(this,<%=Session("ctype") %> );" > Aha! I found the 'bug'! It was two 's instead of a ". I'm so glad that you asked me to post my code here, and I'm glad that I'm using Courier New font in my outlook so I can see the difference between two 's and a ", while the other fonts I used for my codes showed no difference! Thanks, LL -----Original Message----- From: David Dorward [mailto:evolt at david.us-lot.org] Sent: Sunday, December 28, 2003 5:36 AM To: thelist at lists.evolt.org Subject: Re: [thelist] onSubmit ignored! On Sun, 2003-12-28 at 04:00, Zhang, Lingling wrote: > My validation function called in onSubmit is ignored, and I have no clue why > that happens. Could anyone here help? Well _clearly_ its a case of ... <tap> <slam> <bash> <kick> Nope, its no good. My crystal ball can't lock on. You'll have to show us your code and tell us your testing environment (Browser/OS). -- David Dorward <http://dorward.me.uk/> -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !