in ui/angular/src/app/measure/create-measure/ac/ac.component.ts [337:357]
formValidation = function (step) {
if (step == undefined) {
step = this.currentStep;
}
if (step == 1) {
return this.selection && this.selection.length > 0;
} else if (step == 2) {
return this.selectionTarget && this.selectionTarget.length > 0; //at least one target is selected
// && !((this.currentTable.name == this.currentTableTarget.name)&&(this.currentDB.name == this.currentDBTarget.name));//target and source should be different
} else if (step == 3) {
return (
this.selectionTarget &&
this.selectionTarget.length == this.mappings.length &&
this.mappings.indexOf("") == -1
);
} else if (step == 4) {
return true;
} else if (step == 5) {
}
return false;
};