Javascript Duplicate Prevention

The following code will prevent your customers from placing duplicate transactions by pressing the SUBMIT BUTTON multiple times. This simple JavaScript provides an easy solution to this problem.


  1. This JavaScript may not be used if you are using a Split Form. (It is built into the Split Form already.)
  2. The following JavaScript must be copied completely and must exist within your order form between the HTML tags of and .
  3. Find the following line in your HTML order form:
  4. Change it to:

The Code


Contact iTransact

Please do not hesitate to contact us with any questions.

PO Box 999
314 South 200 West
Farmington UT 84025-0999
Phone: (800) 369-6451
Fax: (801) 298-9789