Well, it all depends on what you're trying to avoid. What kind of data is
being submitted, and what do you want to prevent duplicates of? And how do
you define something as a duplicate? Like, if I entered Ray Costanzo into
your form, and then someone else with the same name also fills out your
form, that would not be a duplicate if we are different people. So, first
decide how you define duplicate entries, or double submissions.
Ray at work
"middletree" <mi********@htomail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Good point. My follow-up would be, can you point me to some sample code
for handling double-submissions on the server side?
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eq**************@TK2MSFTNGP09.phx.gbl... You can't do it with ASP in the way that you mean, since ASP runs on the
server. To just disable the submit button, you can use client side code
as such:
<form onsubmit="this.NameOfSubmitButton.disabled=true;"
I don't know about browser compatibility of that though. INstead of
trying to disable the submit button, you could address the reason that you want
to do this and come up with a server-side solution. Like, have your code
handle duplicate submissions.
Ray at work
"JML" <ce*****@milwaukeepc.com> wrote in message
news:3f***********************@news.twtelecom.net. ..
Hi guys,
I need HELP
I am trying to disable submit button after user submits the form.
thanks in advance
--
Jamal
Mpcparts.com / Milwaukeepc
414-3320874-143
414-332-1368
3900 N. Sherburn PL.
Shorewood,WI,53211