Required library edition:
Required library file: dhtmlxform.js
attaches dhtmlxForm to a cell, returns a dhtmlxForm object
Attaching to a layout's cell:
var dhxForm = dhxLayout.cells("a").attachForm(); // returns a dhtmlxForm object
Attaching to an accordion's cell:
var dhxForm = dhxAcc.cells(id).attachForm(); // returns a dhtmlxForm object