In the argument functionname in form.addButton can...
# suitescript
a
In the argument functionname in form.addButton can i add the function in the same suitescript file?
s
Generally the answer is no. The function of the button should be sitting on the client script the page is using.
a
And I set the client script with
form.clientScriptFileid
?
b
I favor the clientScriptFilePath, its more portable
a
Ah that makes more sense. Thanks.