you can create your own formPanel class and then create this every time you want
MyForm = Ext.extend(Ext.form.FormPanel, {
title: 'My Personal Form',
width: 400,
height: 250,
padding: 10,
initComponent: function() {
this.items = [
{
xtype: 'textarea',
anchor: '100%',
fieldLabel: 'Label'
},
{
xtype: 'textfield',
fieldLabel: 'Label',
anchor: '100%'
}
];
MyForm.superclass.initComponent.call(this);
}
});
var panel1 = new Ext.panel(new MyForm({id:'test1'}));
var panel2 = new Ext.panel(new MyForm());
I insert in the first panel a id property, but you can insert anything else.
You can also change the standard configuration of your form overwriting the configuration