I have put a function nuOnLoad() behind a form. I am surprised that this function is running when loading the form but also when saving. If anyone could explain me how this function works, it would be nice.
Code behind the function nuOnLoad()
Code: Select all
function nuOnLoad(){
if ((nuFormType() == 'edit') {
let oldlbl=nuGetValue('tsk_label');
console.log('oldlbl in nuOnLoad : ' + oldlbl);
}
}
Thanks Yves