Hello !

I've red some posts in this thread, i've tried to do what is said somewhere, but i can't do what i want.

So, i've a SuperBoxSelect inside a form.

I want to load data into the form.
When there's multiple datas to put in the
SuperBoxSelect, i don't know how to do it.

The
SuperBoxSelect :

Code:
            allowAddNewData: true,
            allowBlank:false,
            displayField: 'nom_genre',
            fieldLabel: 'Genre(s) ',
            hiddenName: 'genre[]',
            id:'idjs_genre',
            listeners: {
                newitem: function(bs,v,f) {
                    v = v +'';
                    v = v.slice(0,1).toUpperCase() + v.slice(1).toLowerCase();
                    var newObj = {
                        id_genre: v,
                        nom_genre: v
                    };
                    bs.addNewItem(newObj);
                }
            },
            listWidth: 300,
            minChars: 3,
            name: 'genre[]',
            store: store_genre,
            triggerAction: 'all',
            valueField: 'id_genre',
            width: 300,
            xtype:'superboxselect'
The reader of the form :

Code:
        reader: new Ext.data.JsonReader({
            root : 'livre',
            fields: ['isbn', 'titre', 'annee', 'numero', 'nb_page', 'prix', 'id_case', 'editeur', 'collection', 'genre', 'auteur']
        }),
The json data coming from the server :
Code:
{"success":true,
"livre":[{
    "isbn":"INC1230238948371",
    "titre":"Th\u00e9\u00e2tre\/roman (t1)",
    "annee":"1973",
     "numero":"41",
    "nb_page":"410",
    "prix":"0.00",
    "id_case":"29",
    "editeur":"6",
    "collection":"13",
    "genre":"10, 12",
    "auteur":"40"}
]}
As you can see, there's two values for the "genre".

I think i must have "genre[]" in the json and in the reader, but if so, i've the following error with the reader :

Code:
syntax error
return obj.genre[]
My question : how to load multiple datas in a SuperBoxSelect ?