var valField = new Ext.form.NumberField({ fieldLabel: attribute.name, name: 'val', id: 'attribute-val' }); form.add(valField);