making whole Lightbox / its elements read only

How can i make select boxes (hour,date,monthyear) read only based on some condition?. I am automatically mapping them to database. or moreover How can i make the whole lightbox form read only?

name:“time”, height:72, type:“time”, map_to:“auto”

You can try to apply the following approach to disable on selectboxs in time section:

var setter = scheduler.form_blocks.time.set_value;

var sels = node.getElementsByTagName(“SELECT”);
if(…) /some check here/
for(var i =0; i < sels.length;i++)
sels[i].disabled = true;

We are working on extension with similar functionality for oncoming update, if you are interested in beta version - please contact us at