问题
I created dynamic action in oracle apex i.e when selecting more than one check box it displays that "to select only one checkbox" if i click ok button of this message the checkboxes should be unchecked
回答1:
After the confirm DA, add another DA with plsql code
:PXX_CHECKBOX_ITEM := null;
items to submit -> :PXX_CHECKBOX_ITEM
回答2:
What Valerio wrote would work, but I am guessing this is to do with the apex.item stuff you have been dealing with.
You will need to add another DA that is triggered by clicking the ok button. Then you need to have the DA run Javascript code. Since I saw you were asking about how to run javascript, in this case you need to go into the true actions of the dynamic action and set the Action to Execute Javascript code.(For other Javascript code you can click on Page XX: Name of page in the Rendering tab on the left, and if you scroll down on the right there should be a section for Javascript)
And the Javscript code you need to execute to uncheck should be $s or something similair. https://apex.oracle.com/pls/apex/germancommunities/apexcommunity/tipp/6341/index-en.html is a good starting point on just these basics.
I actually tend to avoid interactive reports, I prefer Interactive Grids. But you do you. If you do get into Interactive grids I recommend you go through this: https://github.com/mgoricki/orclapex-ig-cheat-sheet
来源:https://stackoverflow.com/questions/58624306/uncheck-checkbox-after-alert-message