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!

Does a Form submit all items including hidden, text fields shown as readonly?

I have hidden items, FOEX Hidden Fields, FOEX Text Field with Readonly set to always apart from regular data entry fields.

It doesn't look like they are getting submitted when Update or Delete button is clicked ... I am looking for them in p_crud_request.new_record (the reason being I want what is shown on the page).

Is anything wrong in my assumption? I tried adding these fields in the Page items to submit for the Form but it didn't help. If I remove the Readonly attribute or make the hidden fields visible then I do get the value in p_crud_request.new_record.

A related problem is I have a hidden variable for the Order By (P540_ORDER_BY). This value is set on page load based on how the form is called (null if I don't want browsing/Valid order by clause if I want browsing) and yes, the same form is loaded multiple times. The form is getting the value from session and browsing is not working if the form has been opened first where order by was set and then where order by was set to null. I tried adding this field to the Page items to submit but no luck.

Can you please guide as I think my assumption is incorrect somewhere. I think I should be able to demo in a quick 5 minute call instead of setting up an example in the workspace.

Comments
Post Details
Added on Dec 2 2022
6 comments
852 views