Solved

JS - HTML WebForm Submission - prevent duplicate submit

Posted on 2012-03-14
2
223 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
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…

734 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