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