Jump to content

Recommended Posts


We are trying to set multiple select option in select box but getting the issue. So below is the code we are trying to use:

  'type' => 'select',
  'multiple' => true,
  'label' => $this->l('Test'),
  'name' => 'TEST',
  'options' => array(
    'query' => array(
        array('id' => 'demo', 'name' => 'demo'),
        array('id' => 'dummy', 'name' => 'dummy'),
    'id' => 'id',
    'name' => 'name',

We are getting the undefined index issue. So please can some one correct this code.


Share this post

Link to post
Share on other sites
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More