Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

disable button on button click to prevent multiple inserts!!

588400Aug 6 2008 — edited Dec 19 2012
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2013
Added on Aug 6 2008
10 comments
5,292 views