I think I am going to incorporate 2 or 3 of the ideas. Java script looks
good. I should double check for products already added. I have to add a
little bit to this as I allow product options as well and will have to check
them as well.

I believe I am using a single threaded ODBC for my db. Still working on some
issues with the multi threaded version. So this may be a cause as well. Not
ready to move to an array based cart but will consider that.

Thanks for all the ideas.

Steve

-----Original Message-----
From: Dave Shelley [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 4:12 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Select a submit button in a form (OT)


Steve,

On your form tag, add onSubmit="return(checkSubmit())" 
and add a javascript function that says:

var submitted=false;
function checkSubmit()
{
  if (submitted==false)
  {
    sunmitted=true;
    return true;
  }
  else
  {
    alert('Already submitted');
    return false;
  }
}

That should do it.

Dave.

-----Original Message-----
From: Fogelson, Steve [mailto:[EMAIL PROTECTED] 
Sent: April 15, 2004 4:40 PM
To: Witango User Group (E-mail)
Subject: Witango-Talk: Select a submit button in a form (OT)

I am having problems with shoppers selecting the "Add To Cart" button
repeatedly. It all happens within a few seconds. They are probably
impatient
when the server is busy.

Is there a way to display something immediately when the shopper selects
the
button to indicate we are processing?

Thanks for any ideas

Steve Fogelson
Internet Commerce Solutions
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to