in reply to Hitting submit twice

Problem solved! Thanks to all those who suggested Java.

I disabled the submit button using onclick, and then enabled it again if the customer hits the back button to correct his mistake.

But once his order is correct enough to send to the bank, he is unable to hit submit again.

Replies are listed 'Best First'.
Re^2: Hitting submit twice
by Anonymous Monk on Feb 03, 2015 at 20:25 UTC
    Problem solved! ... he is unable to hit submit again.

    That first part sounds great, the second has me confused: if the order is corrected, why shouldn't the customer be able to submit it then?