For example if need to check from a client side ui action if the mandatory fields are complete
var arrMand = g_form.getMissingFields();
if(arrMand.length>0){
alert('Complete mandatory fields');
}else{
//--carry on
}
var arrMand = g_form.getMissingFields();
if(arrMand.length>0){
alert('Complete mandatory fields');
}else{
//--carry on
}
Comments
Post a Comment