Feb 13, 2003 #1 Linkan Programmer Feb 7, 2001 44 SE Hi, How can i prevent my form from beeing submited more then once? I have a DB app and i would like to be able to prevent more then one submit. Thanks, Linkan
Hi, How can i prevent my form from beeing submited more then once? I have a DB app and i would like to be able to prevent more then one submit. Thanks, Linkan
Feb 13, 2003 #2 vvlad Programmer May 27, 2002 151 DE You could use a Session variable and test it before submitting the form. vlad Upvote 0 Downvote
Feb 13, 2003 Thread starter #3 Linkan Programmer Feb 7, 2001 44 SE But they need to be able to come back later in the same session to submit again. /linkan Upvote 0 Downvote
Feb 13, 2003 #4 vvlad Programmer May 27, 2002 151 DE Set the variable to false when the user clicks the button and to true every time the page loads. vlad Upvote 0 Downvote
Set the variable to false when the user clicks the button and to true every time the page loads. vlad
Feb 13, 2003 Thread starter #5 Linkan Programmer Feb 7, 2001 44 SE Thanks I will try to do that /Linkan Upvote 0 Downvote
Feb 13, 2003 #6 EdwardMartinIII Technical User Sep 17, 2002 1,655 US You can also disable the control in the onclick event, and then re-enable it at the end of your meaty bit of processing. Good luck! Edward "Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door Upvote 0 Downvote
You can also disable the control in the onclick event, and then re-enable it at the end of your meaty bit of processing. Good luck! Edward "Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door