X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/examples/direct/named-arguments.js diff --git a/examples/direct/named-arguments.js b/examples/direct/named-arguments.js index 9a99185c..c1ebda88 100644 --- a/examples/direct/named-arguments.js +++ b/examples/direct/named-arguments.js @@ -31,23 +31,27 @@ Ext.onReady(function(){ xtype: 'textfield', fieldLabel: 'First Name', name: 'firstName', - value: 'Evan' + value: 'Evan', + allowBlank: false }, { xtype: 'textfield', fieldLabel: 'Last Name', name: 'lastName', - value: 'Trimboli' + value: 'Trimboli', + allowBlank: false }, { xtype: 'numberfield', fieldLabel: 'Age', name: 'age', - value: 25 + value: 25, + allowBlank: false }], dockedItems: [{ dock: 'bottom', ui: 'footer', xtype: 'toolbar', items: ['->', { + formBind: true, text: 'Send', handler: function(){ var values = form.getForm().getValues();