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!

Disabled checkbox with apex.item().disable() set value to null

Alvaro_mJul 14 2022 — edited Jul 14 2022

Dear all,
I have a dynamic action with this command : apex.item("P94_PR_MEAT").setValue("Y");
PR_MEAT is a checkbox with default values 'Y' and 'N'.
After i set the vale, i disable that item with disable()
When I submit my page, i get an error that value of PR_MEAT must be Y or N.
With the debugger, i see that the JSON that try post is

{"n":"P94_PR_MEAT","v":""}

Is this not an error ? Should not take the value that is set, although is disabled ?
Thank you,

Comments
Post Details
Added on Jul 14 2022
4 comments
1,596 views