Is that possible using dependency make all fields of panel read only in sugarcrm 7 ?

Hi,

I have checked  for existing dependency of sugarcrm readonly but I can only hide one single field instead of I want to perform read only all  fields panel wise base on condition.

Any help highly appreciated.

Thanks.