form取值

var form = this.up('form').getForm();//获取表单对象
                    var field=form.findField("cloudSubsriberId");//表单取值“id:'cloudSubsriberId'”
   var value=field.getValue();
   if (null == value || value.length == 0) {
   Ext.Msg.alert('List users', 'cloudSubsriberId is null');
   } else {
   getCSUsers(value);
   }

你可能感兴趣的:(form)