Infinite loop with alert() inside a fieldChanged() ClientScript (with Chrome only !)
I have a strange behavior on a SuiteScript ClientScript.
Here is my code :
But with Chrome only, I got an infinite loop of alert. I think this is because alert() method try to remove focus, and the validateField method is fired when the focus is removed from the field.
How can I solve that ?
I tested the script with IE and Firefox, even if the alert pop-out twice, it is not as disturbing than with Chrome.
Any help would be appreciate ?
I have not experienced this personally before and am not sure this would solve it, but you could try using
dialog.alert (/app/help/helpcenter.nl?fid=section_4497744851.html) via the