var username = this.options.form.getWidgetByName("username").getValue();
用这种方法获取控件的值,改变之后取的应该是新的,别用参数公式的那个。