How to implement multi-select on Autocomplete

How to implement multi-select on Autocomplete

Hi Guys,

Can anyone please tell me or help me on how to do this, I am Autocompleting on 1 of my fields, and I want the user to be able to perform multi selects on the autocomplete box. I want to show checkboxes on the autocomplete list.

Ex. I am working on an invoicing system, that keeps track of Quotations, Orders, Shipping Documents, in Shipping Documents, if I type a customer name, the system searches (autocomplete) and returns all the customers that have a quotation and and order, so it appends the item/product details of that customer (both quoted items and ordered items). Now I want the user to be able to choose what they want by checking the appropriate checkbox, if a user checks the orders checkbox, then only order details should be appended. I hope its clear.