3 * Copyright(c) 2006-2010 Sencha Inc.
5 * http://www.sencha.com/license
9 Ext.onReady(function(){
11 var fp = new Ext.FormPanel({
13 renderTo: Ext.getBody(),
18 bodyStyle: 'padding:10px 10px 0;',
28 blankText: 'Name is required'
31 fieldLabel: 'Birthdate',
32 blankText: 'Birthdate is required'
37 if(fp.getForm().isValid()){
38 var sb = Ext.getCmp('form-statusbar');
39 sb.showBusy('Saving form...');
58 title: 'StatusBar with Integrated Form Validation',
59 renderTo: Ext.getBody(),
64 bbar: new Ext.ux.StatusBar({
67 plugins: new Ext.ux.ValidationStatus({form:'status-form'})