Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Custom Form Buttons - Can't pass parameters to functions anymore?
I used to be able to pass parameters to custom button functions added using the custom form. Actually, I still do this. However, I removed my references to some existing buttons for testing purposes. Now I can't add back the original function (with parameters) anymore.
For example:
[LIST]
[*]Label: "Button A" Function: myButtonFunc('str1', true)
[*]Label: "Button B" Function: myButtonFunc('str2', false)
[/LIST]
This allows me to call the same function from multiple buttons, but pass a different parameter to each. It works, but the UI won't let me add them back! All I get is this:
[LIST]
0