PDA

View Full Version : How to create a form of XML?



KANekT
25 Jan 2011, 11:56 PM
How to create a form of XML? or required to prescribe in the js.
Example js.


items: [
new Ext.form.FieldSet({
title: 'Contact Information',
autoHeight: true,
defaultType: 'textfield',
items: [{
fieldLabel: 'First Name',
emptyText: 'First Name',
name: 'first',
width:190
}, {
fieldLabel: 'Last Name',
emptyText: 'Last Name',
name: 'last',
width:190
}, {
fieldLabel: 'Company',
name: 'company',
width:190
}, {
fieldLabel: 'Email',
name: 'email',
vtype:'email',
width:190
},


Sorry I'm find http://www.sencha.com/forum/showthread.php?90489-Create-Form-Using-xml