Solved

JS - HTML WebForm Submission - prevent duplicate submit

Posted on 2012-03-14
2
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
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…

729 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