hello world,
please help - does anybody know, how to handle erros returned from doo.form.saveAndStay()? Unfortunatelly the script below does not catch errors like empty required field.
Thanks for ideas
Martin
function saveForm()
{
try {
doo.form.saveAndStay();
console.log(“OK”);
}
catch (error) {
console.error(“NOK”, error);
alert(“NOK alert”);
}
}
saveForm();