i don't think requiring the module on the user eve...
# suitescript
p
i don't think requiring the module on the user event would work. form.addButton and such runs on the server, and i don't think just by refering a function there it will either send the script to the client, or do a remote call to execute that code in the server. But i haven't tested.