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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How do you make a Checkbox readonly?

Glenda HasleyMay 10 2022

We are on APEX 21.2
On the Form page shown below, the Assignee Completed field is a Checkbox field. The Checked Value is Y and the Unchecked Value is N.
The Maintains Session State is ‘Pay Session (Disk)’
image.pngWhen the user changes the Assignee Completed Field from N to Y, a dynamic action is triggered.
image.pngThis dynamic action triggers an alert and several Set Values to set the values in the yellow highlighted fields (see below) and Execute JavaScript Codes to make those fields and the Assignee Complete checkbox to readonly.
image.png
The Execute JavaScript Code (highlighted above in green) contains the following.
All the true actions in this dynamic action work, except for this one.
How do I make the Assignee Completed field readonly after changing the assignee complete from N to Y?
image.pngimage.pngimage.png

Comments
Post Details
Added on May 10 2022
5 comments
1,381 views