Re: Re: Losing cust checkout data on error.

Posts: 1293
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

I'd say an onError event handler:

http://www.devguru.com/Technologies/ecmascript/QuickRef/evhan_onerror.ht...

http://www.w3schools.com/js/js_onerror.asp

But you might want to dig deeper to get the value of the error and include some helpful text (or reset whatever field happens to be the cause of the error, if any.) My .02.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com