I’m working on the web form.
How do I use the boilerplate js files?
(appname/appname/appname/web_form/formname/formname.js).
In the browser console the js file is not loaded (Status 404).
Should I put the path in the hooks? What is the correct path to use?
Is the code inside the frappe.ready function or not?
I can’t get the code works. The same code in Client Script works but not in the files.
However this does not answer the question. Code in the embedded Client Script editor on the Web Form does not execute in the .js file of the Web Form. So how do you set a form field event handler in the .js file?