disable button on button click to prevent multiple inserts!!
588400Aug 6 2008 — edited Dec 19 2012Hi everyone, ok here is the situation.
I have a Submit button (HTML Button) on page 2. When user clicks this button, I have a branch to page 10. In my branch, I set the value of items on page 10. On page 10, I have an "On Load" process that runs some insert statements.
Everything works fine, but I have just realized that if user clicks the "Submit" button more than once (for example 5 times), the insert statement in the "page load" proces in page 10 happens 5 times. This is very bad. I cannot allow that. I would probably have to disable the button?? how can I do that??
Please note that I have not created this button using HTML in html header, I have created this button using the wizard.
I have looked at some threads but I have been unable to find a slution,
I will appreciate your suggestions
Thanks