PDA

View Full Version : problem with form layout



tarini
4 Feb 2008, 1:36 PM
i've got this code



.......
items: new Ext.form.FormPanel({
labelWidth: 75,
url:'save-form.php',
frame:true,
msgtarget: 'side',
defaultType: 'textfield',
items: [{
fieldLabel: 'First Name',
name: 'first',
allowBlank:false
},{
fieldLabel: 'Email',
name: 'email',
allowBlank:false,
vtype: "email"
}],
buttons: [{
text: 'Save'
},{
text: 'Cancel'
}]
})



but I get a strange form with email field veeeery big... (look attached image)

how can I solve this??

Condor
5 Feb 2008, 1:08 AM
Disable your state manager (or clear your cookies)