var kj1= this.options.form.getWidgetByName("控件1名称").getValue();
var kj2= this.options.form.getWidgetByName("控件2名称").getValue();
if( kj1== "" || kj1==null){
alert("错误,控件1不能为空");
return false;
};
if(kj2 == "" || kj2==null){
alert("错误,控件2不能为空");
return false;
};