Multiselect dropdown / dropdown containing checkboxes

I want to do something like this:

http://codepen.io/elmahdim/pen/hlmri

Where a form element looks like a dropdown but behaves like a checkbox. Is there any way to do this without manually rendering the form elements?

you might be able to do it using the phalcon-jquery library: http://phalcon-jquery.kobject.net/

Regards André