Just to add to that, Parameterexists is depreciated so I would use this as an oppurtunity to replace it with isDefined as you never know when they'll stop supporting it (cf6 maybe?)
HTH KOla Kola Oyedeji Web developer Macromedia Certified Advanced ColdFusion 5 Developer http://www.Alexandermark.com (+44)020-8429-7300 > -----Original Message----- > From: John Cesta - Lists [mailto:[EMAIL PROTECTED]] > Sent: 25 October 2001 18:35 > To: CF-Server > Subject: RE: Funny thing happens on the way to a Form > > > You may be correct. I'll try that. Thanks! > > John Cesta > > > > > -----Original Message----- > > From: Justin Buist [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, October 25, 2001 12:20 PM > > To: CF-Server > > Subject: Re: Funny thing happens on the way to a Form > > > > > > Mozilla is Netscape. My guess here would be that you've > got a drop-down > > box with the first entry in the series being considered the > default one. > > If the box isn't actually touched Netscape (perhaps only > some versions, > > perhaps all versions... I'm not sure) won't set the value of > > PaymentMethod_ID to anything and your script crashes. > > > > Suggestion would be to set the first entry to "none" and > force the user to > > make a valid selection of explictly put the 'SELECTED' > keyword in the > > <option> HTML statement. > > > > Justin Buist > > Trident Technology, Inc. > > 4700 60th St. SW, Suite 102 > > Grand Rapids, MI 49512 > > Ph. 616.554.2700 x2009 > > Fx. 616.554.3331 > > Mo. 616.291.2612 > > > > On Thu, 25 Oct 2001, John Cesta - Lists wrote: > > > > > CF. 4.5.1 > > > O/S NT4.0 SP5 > > > 2 gigs ram > > > > > > > > > I've been trying to figure why - in our AbleCommerce store - > > around every > > > twenty orders one will crash. I eventually found this to > be the problem. > > > > > > This is the code that checks for a Form parameter, if found, it > > writes data > > > into a SQL DB for later use throughout the order process. Since > > it doesn't > > > write the data for the one order the program eventually > crashes on the > > > customer. > > > > > > <CFIF Parameterexists(Form.PaymentMethod_ID)> > > > > > > Basically, I've found that when the order crashes the > > Form.PaymentMethod_ID > > > does not exist and the browser is: > > > > > > Mozilla/4.61 [en] (Win98; I) > > > > > > or > > > > > > Mozilla/4.6 [en] (WinNT; U) > > > > > > I am pretty (99.9% certain that this is the case. Does > anyone know what > > > particular browser this is? Or, why it may not handel the Form > > parameter? > > > > > > Thanks, > > > > > > John Cesta > > > > > > Maybe I should try using isDefined? > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com ------------------------------------------------------------------------------ To unsubscribe, send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body or visit the list page at www.houseoffusion.com
