Dear members,
how can I prevent that my form field script runs three times? I need 3 event listeners for my form. But this code should only run once.
var letzter_eintrag = record.getFieldValue(‘fld-827f7254f04c462f887323172ef309ca’);
var brief_erstellt = record.getFieldValue(‘fld-8295048b2bee4f959bb952914117c266’);
var brief_versandt = record.getFieldValue(‘fld-c1e5d2c7de1844d2ae50fdcbe118232d’);
function ….{
call another function;
}
……
I forgot:
It runs three times if I click the “+” button in the form to add a new record. How can I prevent this?
Solution:
var letzter_eintrag = record.getFieldValue(‘fld-827f7254f04c462f887323172ef309ca’);
var brief_erstellt = record.getFieldValue(‘fld-8295048b2bee4f959bb952914117c266’,false);
var brief_versandt = record.getFieldValue(‘fld-c1e5d2c7de1844d2ae50fdcbe118232d’,false);