ADD Form Validation With Custom Message

SugarCRM, SuiteCRM Navin Rakhonde
It will be done by one step only! Lets do this, 1. Add a reference to the JavaScript file which will be needed for event binding. Path: custom/modules/<desired_module>/metadata/editviewdefs.php <?php $viewdefs['<desired_module>']['EditView']['templateMeta']['includes'] = array ( array ( 'file' => 'custom/modules/<desired_module>/js/editview.js', ), ); ?> 2. Add the JavaScript file you want to include into…
Read More

Add the New Panel on Admin Section

SugarCRM, SuiteCRM Navin Rakhonde
It will be done by one step only! Lets do this, Step 1 : create one php file with <any_name> , paste the code and do repair rebuilt from admin section and add below code Path:- custom\Extension\modules\Administration\Ext\Administration $admin_option_defs = array(); $admin_option_defs['Administration']['the_name'] = array( 'the_name', 'Linem Item Module', 'Insert Record to…
Read More

custom autocomplete lookup on related field

SugarCRM, SuiteCRM Navin Rakhonde
We came across a requirement where client wanted custom autocomplete lookup so after much searching , We found a way to do this. Steps are as below, Step 1 : Copy your < desired_module > editviewdefs.php file to custom/modules/< desired_module >/metadata/editviewdefs.php <?php $viewdefs['<desired_module>']['EditView']['templateMeta']['includes'] = array ( array ( 'file' =>…
Read More