Questions tagged [multipleselection]

May refer to a scenario where you can select multiple items from a list of items in a user interface.

336 questions
28
votes
7 answers

Chosen: Keep Multiple Selection Order

I am using Chosen's Multiple selection. I want to be able to track user selected order. For example, if a user select option2 first then option1, I want to get the result in the order of option2 and option1. But chosen sorts user selected options.…
topcan5
  • 1,511
  • 8
  • 30
  • 54
23
votes
7 answers

Multiple IF statements on MYSQL

I'm trying to Display somes values in my database result, I am using this code but I can not succeed: SELECT item_code, IF(category_code = 'HERR1', 'NO', 1) OR (category_code = 'COLN5', 'NO', 2) AS category_code, item_name, …
John Nuñez
  • 1,780
  • 13
  • 35
  • 51
21
votes
3 answers

How to use in or to select multiple items?

I have a Facelets page with a . In each row there is a . If the checkbox is selected the object behind the corresponding row should be set in the bean. How do I do this? How to get the selected rows or their…
c0d3x
  • 691
  • 5
  • 12
  • 19
17
votes
3 answers

How to select multiple rows in UITableView in edit mode?

I want to ask, how can I forward to edit mode, where I can to select multiple rows, as in Messages app, when you click on top right button "Select", when you can choose multiple messages by tapping on circles. Like this: I searched a lot, really,…
user4809833
15
votes
1 answer

Android Image Picker Select multiple images from gallery with a maximum limit of 5

I have an app where the user needs to be able to choose multiple pictures to send them somewhere. However, they can only send five images at a time. I need to be able to limit the number of images that they can pick from the gallery through the…
Alex K
  • 8,269
  • 9
  • 39
  • 57
15
votes
4 answers

How do I insert multiple checkbox values into a table?

I cant seem to find or figure out a working solution to insert multiple checkbox values from a form into a table. The closes I have come is inserting the value of merely one checkbox value into a table. Kindly point out how I can insert multiple…
SirBT
  • 1,580
  • 5
  • 22
  • 51
13
votes
2 answers

Adding values to a multiple select with jQuery's select2

I'm using the select2 jQuery plugin on a