⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

add quantity field for each item in multiselect



Ador El
  • profile picture
  • Member

Posted 12 June 2015 - 03:17 AM

Having a multiselect field for fruits, I would like to have an option where user can tell the amount of each item on multiselect list

 

 

 

$crud->field_type('fruits','multiselect',
array( "1" => "banana", "2" => "orange", "3" => "apple"));

 

Is there a way to do let user select

 

5 banana

3 orange

 

of banana,orange and, apple options?

 

I would like to solve it using multiselect.