SugarCRM Set the default value of the field

SugarCRM Set the default value of the field

May 29, 2013 PHP SugarCRM Uncategorized 0

Write a PHP code in,

 

D1/custom/Extension/modules/Quotes (Module Name)/Ext/Vardefs/vardefs.php

<?php

 

$dictionary['Quote'](Module name)['fields']['term_c'](field name)['default'] = 'Terms & Conditions:’;

 

?>

Then go to Admin -> Repair -> Repair Database.

 

Leave a Reply

Your email address will not be published. Required fields are marked *