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 or Popup LOV readonly?

Glenda HasleyApr 25 2022

We are on APEX 21.2

On the following Form page, the Completed field is a PopUp lov.
When the user changes the Completed Field from No to Yes, a dynamic action is triggered.

image.png
This dynamic action triggers a confirm, several Set Values to set the values in the above yellow highlighted fields and Execute JavaScript Codes to make those fields readonly.

How do I make the Completed field readonly?

I tried the following:
$(document.wwv_flow.P6_ASSIGNEE_COMPLETE_FLAG).attr('disabled',true); (this set the Completed field to null)

document.getElementById("P16_ASSIGNEE_COMPLETE_FLAG").readOnly = true; (the user is still able to update the field)

Comments

Post Details

Added on Apr 25 2022
4 comments
2,134 views