PM-671 and PM-674 Validacion para la creacion de Dynaforms a traves de pm table

Validacion en la creacion de dynaforms a traves de PM tables
This commit is contained in:
norahmollo
2014-10-23 15:28:02 -04:00
parent d7363047d8
commit 58baebe62b

View File

@@ -205,15 +205,13 @@ document.getElementById('form[DYN_TITLE]').value = document.getElementById('form
lastPopupWindow.remove(); lastPopupWindow.remove();
} else { } else {
if (document.getElementById('form[ADD_TABLE]').value.trim() == '') { if (document.getElementById('form[ADD_TABLE]').value.trim() == '') {
msgBox("@G::LoadTranslation(ID_PMTABLE)"+" "+"@G::LoadTranslation(ID_IS_REQUIRED)", "alert"); msgBox("@G::LoadTranslation(ID_PMTABLE_REQUIRED)", "alert");
return false; return false;
} else { } else {
msgBox("@G::LoadTranslation(ID_REQUIRED_NAME_DYNAFORM)", "alert"); msgBox("@G::LoadTranslation(ID_REQUIRED_NAME_DYNAFORM)", "alert");
return false; return false;
} }
} }
} }
function cancel(){ function cancel(){