My multi select list is very large, it is difficult to find out which options are selected, I want to change it into some thing like following, is it possible? It can be any where, but currently I have a custom "customer_address" attribute type "multiselect",
I am creating my attribute like this my sql script,
<?php
$installer = $this;
$installer->startSetup();
$installer->addAttribute('customer_address', 'additional_managers', array(
'label' => 'Additional Store/Site Managers',
'visible' => true,
'required' => false,
'type' => 'varchar',
'input' => 'multiselect',
'source' => 'abc_districtmanager/address_attribute_source_districtmanager',
'onclick' => 'getSelectValues(this)',
'user_defined' => 1,
'position' => 100
));
$used_in_forms = array(
'adminhtml_customer_address',
'customer_address_edit',
'customer_register_address'
);
$attribute = Mage::getSingleton('eav/config')->getAttribute('customer_address', 'additional_managers');
$attribute->setData('used_in_forms', $used_in_forms);
$attribute->save();
$installer->endSetup();