dhtmlXForm getItemsList


I have created a form with json content:

formStructure = [
{type: “fieldset”, label: “Example”, list:[
{type: “checkbox”, name:‘checkId[0]’, value:‘C1’, label:‘1’},
{type: “checkbox”, name:‘checkId[1]’, value:‘C2’, label:‘2’},
{type: “checkbox”, name:‘checkId[2]’, value:‘C3’, label:‘3’},
{type: “checkbox”, name:‘checkId[3]’, value:‘C4’, label:‘4’}

When I try the getItemsList(), I get a wierd string like: ‘xSwEDCFSS’ example. I checked the type, it comes up as ‘fieldset’.

How do I get the list as checkId*?


if name attr not set it generated