I am new to magento, I have to add multi select drop down and a comma separated field to magento admin panel using phtml file, can any one guide me for this. thanks...

  • Sorry, slipped from mind – Abdul Ghaffar Feb 29 '16 at 11:20

you can add comma separated in option it like below

<?php    $values='a,b,c,d,e';

 <select multiple name="option[]"> <?php foreach($array as $value)
{  ?>
  <option value="<?php echo $value ?>"><?php echo $value ?></option>
<?php } ?> 


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.