Anyone have any idea why my script is not running ...
# suitescript
k
Anyone have any idea why my script is not running within NetSuite? The field is being added and the log is working.
j
any errors logged in console? try changing to this
Copy code
hideFld.defaultValue = '<script>jQuery(function($) {' + scr + '})</script>';
k
No errors in console at all. Will try what you have suggested.
Found the problem. The label didnt have a value. and was logging an error in the script logs. But this was only after your code change. Thanks
j
👍 🍻
k
If we ever meet i will buy you a few beers for the help overs the years!
j
haha cheers simple smile
👍 1