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!

Disabling a button after one click

gkthomasFeb 27 2016 — edited Mar 5 2016

I have one master record  page where i have a button (Submit for approval) . When I click this button a child record is being created in child table. This child record has initial status (Field) value as "Submitted".

so when a child record exists  with status submitted , the button must be disabled . So I created a dynamic action for event,  page load, with a pl/sql condition to check child record exists with status field value "submitted".  If child record exists with status value "submitted", the button is disabled.  This part is working fine after clicking the button and navigate to another page and come back .  But after clicking the button first time, there is a chance that user can click the button again . So I wanted to disable the button after the first click .

I created another dynamic action with same logic but for the different event  "Click" on the same Submit button.  But it does not work .

can some help
George

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2016
Added on Feb 27 2016
4 comments
2,583 views