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