Adding form content to a tab layout

Hi, i am a new user of dhtmlx touch.
I am using your example tab view and am wondering how to add form content to each tab.
from example code
gravity:2,
view:“tabbar”,
cells:[{ template:“Monday”, id:“tab_1”},
{ template:“Tuesday”, id:“tab_2”},
{ template:“Wednesday”, id:“tab_3”}
]}
how to replace quoted text (ex “Monday”) with a form layout
Any help would be appreciated.
Thanks.

You can include it directly in related cell object as

gravity:2, view:"tabbar", cells:[ { view:"form", data:[ ...form config here... ]},

Thanks very much, one additional question:
Is it possible to define the layout separate from the cell.
I would like to define the layout in a var and then put it in the cell definition to alleviate sever nesting.

Yep, it is a common javascript notation, so you can use vars or any kind of logic inside config structure.

var tab = {
    view:"form", data:[...]
};

dhx.ui({
   view:"tabbar",
   cells:[tab, tab, tab]
});