How to make a custom field read only in detail view??
Thanks!!
How to make a custom field read only in detail view??
Thanks!!
Hi sugardeveloper11,
Do you want to make a field as readonly in 'Detail view'?
Hi sugardeveloper11,
Do you want to make a field as readonly in 'Detail view'?
yes, with coding , no matter admin or regular user.
thanks!!
This is just example:
1) Copy the file (only if it does not exist) from modules\Accounts\clients\base\views\record\record.php to custom\modules\Accounts\clients\base\views\record\record.php
2) Find your field in this file (for example: [industry])
3) replace
'industry',
by
array( 'name' => 'industry', 'readonly' => true, ),