Solved

JS - HTML WebForm Submission - prevent duplicate submit

Posted on 2012-03-14
2
217 Views
Last Modified: 2012-03-14
I've seen some companies that have a mechanism for the SUBMIT button such that if it's already been submitted (in the process of submitting)  and perhaps their internet is slow (or whatever),  clicking a second time shows a message that the form was already submitted, and does not end up with the business receiving a duplicate form.

What is the strategy to accomplish this duplication prevention?

thanks
0
Comment
Question by:willsherwood
2 Comments
 
LVL 1

Accepted Solution

by:
slightlyoff earned 500 total points
ID: 37720254
Here's one way:

http://www.4guysfromrolla.com/webtech/100406-1.shtml
(disables the submit button)

and this one is probably a little closer to what you were looking for:

http://www.javascriptsource.com/forms/submit-once.html
0
 

Author Closing Comment

by:willsherwood
ID: 37720278
excellent, THANKS!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Explain how this javascript function works 1 47
age from date of birth 4 42
Browser Chrome downloads colored link 5 41
Javascript the "if condition with Or" 5 10
In this article, we'll look how to sort an Array in JavaScript, including the more advanced techniques of sorting a collection of records either ascending or descending on two or more fields. Basic Sorting of Arrays First, let's look at the …
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question