Author Topic: Re: VM3 remo9ve  (Read 1079 times)

AnthonyWang

  • Beginner
  • *
  • Posts: 47
  • VirtueMart Version: 3.2.1
Re: VM3 remo9ve
« on: February 26, 2016, 19:39:25 pm »
Hi there,
is it possible add multi select on plgVmOnProductEdit?
I tried add multi select on plgVmOnProductEdit,
but it not work,when i save in backend,input become empty again

Example:
Code: [Select]
$label_options = array(0=>'Label1',1=>'Label2,xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); // lot of option
$html .= VmHTML::row('select','VMCUSTOM_THEINFO_LABEL','customfield_params['.$row.'][custom_label[]]',$label_options,$field->custom_label,'class="inputbox" multiple="true" ','value','text',false);
Currently using :
Joomla 3.6.5 / Virtuemart 3.2.1 / PHP 5.5.9-1ubuntu4.17