Hello,
how to make a field editable in createview and non editable in editview?
Thanks,
KArthicbe
Hello,
how to make a field editable in createview and non editable in editview?
Thanks,
KArthicbe
Hi,
You can add following line in top of your editviewdefs.php in your module.
$readonly = (!empty($_REQUEST[‘record’])) ? true : false;
and add display parameters to field as following.
‘displayParams’ => array (
‘readonly’ => $readonly,
)
This will help you.
Hello,
Tried above code, both create and edit view the field it results readonly.
For create view it should not read only for edit view only it should read only.
Hi,
Quick Repair and Rebuild from SuiteCRM administration.
Clear browser cache and try.
Hi,
Does it worked after QRRB ?
Hello,
Yes it works Thanks.