How to Make certain Fields as Display only on a Record Layout?
How to Make certain Fields as Display only on a Record Layout?
Hi,
You can do this with SugarCRM dependencies. Follow this link for help. In actions you can use 'ReadOnly' instead of 'SetRequired'
Thanks
Hi Tarun,
Please go to 'Studio' in the 'Admin' panel. In 'Studio' click on your desired module (e.g. Contacts, Accounts, Leads etc).
Then click on Layouts. There you will see the 'Record View' icon. If you click on it you will get the option to display or hide anything from the record view of that particular module by simply dragging and dropping Panels and Rows.
Hope this answers your question.
If you want them to be readonly only in record view (no inline edit) then edit
custom/modules/<the_ module>/clients/base/views/record/record.php
and set readonly => true
E.g.
array (
'name' => 'the_field_name',
'readonly' => 'true',
),
HTH,
FrancescaS
Thank you very much for your quick reply on this. This works like charm.
Thank you very much for your quick reply on this. This works like charm.