I need to customize the cases module with 3 different case types in a drop-down for a law firm (criminal, personal injury and family law). Based on the drop-down type selected, I need to hide or either display specific fields on the new cases layout. How can I accomplish this? Is there a tool to make this easy to do? B)
Hi exectek,
you can do it by using jquery or javascript.
just include the file in
custom/cases/metadata/editviewdefs.php
'includes' =>
array (
0 =>
array (
'file' => 'custom/modules/<module name>/validation.js',
),
),
like this , create one file in specific location like what i have given,
custom/modules/<module name>/validation.js
then write jquery, as per your requirement.
:cheer: