I would like to get all checked items in the checkbox group, which is part of the form. Ultimately, they will be saved back to the database as a string, a comma-separated data format.
Thanks for any advice or help you can provide.
Here is how I defined my group:
new Ext.form.CheckboxGroup({
id: 'newId',
fieldLabel: 'Group A',
name: 'broker',
allowBlank: false,
columns: 1,
items: [{
boxLabel: 'All',
name: 'all',
id: 'null'
},
{
boxLabel: 'FS',
name: 'fs',
id: '1'
},
{
boxLabel: 'Royal A',
name: 'ra',
id: '2'
},
{
boxLabel: 'Point',
name: 'sp',
id: '6'
}]
})
source
share