I was using Version 2020.0.3 and I wrote some scripts in Edit Tag → Client Side Events. which was working fine.
Then suddenly that functions stop responding.
when I check then it revealed that my files (userevt.js and userfn.js) have no data in it.I installed Version 2020.0.4 and updated to latest template, and after regenerating all scripts the
above mentioned files are again blank.In userevt.js, only one word is available and that is ‘undefined’.
userfn.js gets over written when you re-generate your app (if its selected)
you probably modified the file directly and didn’t copy the code into phpmaker - [Client Scripts]-[Global][pages with headers/footer][Global Code]
I am getting same error userevt.js, now what is the solution of this ? even I have regenerated code after removing all files…
userevt.js stores all client side events (see the topic Field Setup → Client Side Events), if you have added such events in your project, you may check your code.
Thank You for your reply and it solved … I just removed all files and delete template cache and regenerate the file.