ddeitz / SugarCRM-CheckboxMultiEnum

SugarCRM 6 Field that can be used to replace the standard MultiEnum (i.e., Multi-Select) with Checkboxes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SugarCRM-CheckboxMultiEnum

SugarCRM 6 Field that can be used to replace the standard MultiEnum (i.e., Multi-Select) with Checkboxes

Installation

Copy the directory custom/include/SugarFields/Fields/CheckboxMultienum into your SugarCRM environment Edit any editviewdefs.php and add type to any multienum field and change the field to a CheckboxMultienum

Turn This

          array (
            'name' => 'multienum',
            'label' => 'LBL_MULTIENUM',
          ),

Multi-Select

Into

          array (
            'name' => 'multienum',
            'type' => 'CheckboxMultienum'
            'label' => 'LBL_MULTIENUM',
          ),

Multi-Select

You can also include displayParams

          array (
            'name' => 'multienum',
            'type' => 'CheckboxMultienum'
            'label' => 'LBL_MULTIENUM',
            'displayParams' => 
             array (
              'size' => '400',  //in pixels
              'width' => '100'  //in %
            ),
          ),

About

SugarCRM 6 Field that can be used to replace the standard MultiEnum (i.e., Multi-Select) with Checkboxes

License:MIT License


Languages

Language:Smarty 100.0%