thats pretty much what is in the helpcenter for fo...
# suitescript
j
thats pretty much what is in the helpcenter for form.addButton, even though it says optional, it will throw an JS error on the page if you dont provide it