Greetings,
I’m in need of a correct or proper way to create a dhtmlxForm that was attached to a dhtmlxWindow and I want the controls/inputs into separate tabs to provide a more simple interface to user.
Here is the scenario
I create a window and I attach a form using var form = win.attachForm(struct, 'json')
.
After I created the form (lots of inputs/controls) I want to create TABs to group my controls (Personal Info, Education, Experiences)
I cannot create this one. It gives me error/nothing. I am able to render a tab but the controls/inputs are gone even if I attached the object to the tabs.
var struct = [
{type: 'container' name: 'container-tab-1', list: [lots of input here]},
{type: 'container' name: 'tab-1', list: [lots of input here]},
{type: 'container' name: 'tab-2', list: [lots of input here]},
]
var win = dhx.createWindow('test', 0, 0, 600, 400);
var form = win.attachForm(struct, 'json');
var _tab = // what is next? help here needed