Page 1 of 1

Duplicate Orders

PostPosted: Tue Jun 01, 2004 11:56 am
by Chris
Hi,

As I recall, in the last version of Shopsite a script was added to
prevent "happy clickers" from submitting duplicate orders by repeatedly
clicking the "Order" button.

However, I'm now using Shopsite 7 with the order confirmation/check page
and the duplicate orders seem to have returned. Does this script not
exist in the new version of the program?

Please let me know!

Thanks!

Chris

mlcswoodworking.com

Re: Duplicate Orders

PostPosted: Tue Jun 01, 2004 12:21 pm
by loren_d_c
The JavaScript that disables the submit button once clicked is not on
the confirmation screen (which is new for v7), but it's a known issue
that I believe will be fixed in the next version. You could probably add
it yourself in a custom template by hardcoding the submit button and
including a JavaScript function in an onSubmit in that button tag,
basically it is just a JavaScript function of the form:


function Myfunction() {

if (done_flag == 1) {
return (false);
} else {
done_flag = 1;
return (true);
}

}

-Loren



Chris wrote:

Hi,

As I recall, in the last version of Shopsite a script was added to
prevent "happy clickers" from submitting duplicate orders by repeatedly
clicking the "Order" button.

However, I'm now using Shopsite 7 with the order confirmation/check page
and the duplicate orders seem to have returned. Does this script not
exist in the new version of the program?

Please let me know!

Thanks!

Chris

mlcswoodworking.com