Author Topic: Keep multiselectbox Selection Order  (Read 4427 times)

natdroid

  • Guest
Keep multiselectbox Selection Order
« on: February 16, 2016, 02:13:22 AM »
I want to be able to track user selected order chosen setting in my new extension. 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. Is there a way I can tell chosen to not sorting the result?

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Keep multiselectbox Selection Order
« Reply #1 on: February 18, 2016, 06:17:48 AM »
I think data is sorted prior to getting into chosen. Check what is provided as a data array into chosen. Possibly it is in the response Jason array.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod