emposha / FCBKcomplete

Jquery facebook like(fancy) multi-select
http://www.emposha.com
383 stars 115 forks source link

FCBKcomplete changing the name of my input causing error #83

Closed tristanbes closed 12 years ago

tristanbes commented 12 years ago

Hi,

With the snippet of FCBK js it renders my input like that :

<input class=" hidden" multiple="multiple" id="squad_invite_members" name="squad_invite[members][]">

But without the JS to enable FCBK my input looks like this :

<input type="text" value="" required="required" name="squad_invite[members]" id="squad_invite_members">

So when i submit the form, no values are attached because look at the name of the form :

FCBK on : squad_invite[members][] FCBK off : squad_invite[members]

Is that a bug ? is there a way to disable it ?

Thanks

Tino13 commented 12 years ago

Have you tried to set bricket : false ?

tristanbes commented 12 years ago

no, will try that ASAP. Thanks ;-)