Novo git da alteração
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
function validateForm(form){
|
||||
var msg = "";
|
||||
var activity = getValue("WKNumState");
|
||||
|
||||
// Só valida "Justificativa do Gestor" quando estiver na atividade do gestor (ex.: 5)
|
||||
if (activity == 121) {
|
||||
if (form.getValue("justi_decisao_gestor") == "") {
|
||||
msg += "Campo Justificativa do Gestor não foi preenchido\n";
|
||||
}
|
||||
}
|
||||
|
||||
if (msg != "") {
|
||||
throw msg;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user