Help with a form
var form = new Ext.FormPanel({
frame:true,
title: 'Patient Registration : New Patient',
bodyStyle:'padding:5px 5px 0',
name:'patinfotmp',
defaultType: 'textfield',
labelAlign: "right",
width:700,
height:500,
renderTo: 'patient2',
items: [{
xtype: 'tabpanel',
activeTab : 0,
layoutOnTabChange : true,
items : [
{
xtype : 'form',
title : 'form1',
defaultType : 'textfield',
items : [
{
fieldLabel : 'TextField 1',
name : 'textfield1'
},
{
fieldLabel : 'TextField 2',
name : 'textfield2'
}
]
},
{
xtype : 'form',
title : 'form2',
defaultType : 'textfield',
items : [
{
fieldLabel : 'TextField 3',
name : 'textfield3'
},
{
fieldLabel : 'TextField 3',
name : 'textfield3'
}
]
}
]
}]
});
form.show();
#If you have any other info about this subject , Please add it free.# |

