I have a custom form in which I add attachments. When I use OkAttach() function onclick I get
TypeError: l is undefined
The problem is in file form.js in _layouts/15
My solution works on another site, which is an exact copy of the one I am using currently.
What might cause the problem how how to at least start to debug it?