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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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