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!

How to make a tabular form readonly based on an item value

leckjMay 2 2013 — edited May 5 2013
Hi everyone,

I am getting there, but I need to make a tabular form read-only based on an item value.

I've copied this from somewhere (thanks) and changed it for my needs and it works great to set the second column of my form
to read only.
    var els = jQuery('#Entry_Form input[name="f02"]');
    /*var r = confirm("els is " + els);*/
    els = els.filter(function(index){
      return jQuery(this).val() != "";
    });
Just need to set the jQuery selector to jQuery("td[headers='PRODUCT_NAME']"), cos that's my column name.
also need to give a static id of Entry Form to the form.

I'll try to understand what this code means exactly one of these days, but now I need to make
the whole tabular form read only based on a text item, :P5_CONTROL.

Grateful for any help on this, in the above format if possible. Greek to me but compact and it works.

Regards.

Leckraj
This post has been answered by GarryLawton on May 3 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2013
Added on May 2 2013
7 comments
1,764 views