Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Popup on sales order save?
After a user clicks "save" on a sales order, I would like to have a window/dialog pop up under certain conditions.
The user is prompted for some more information (e.g., a shipping cost), and the sales order is saved.
I would prefer to have something more functional than a javascript prompt() box.
Any "best practices" here for displaying a popup just prior to committing the order save?
(I have used the jquery library simplemodal before, which simulates a "modal dialog box". However, in order to use this, I would need to find a way to force the sales order form to save via client-side javascript -- clicking on the "save" button would display the modal dialog, and when the modal dialog is saved, I would need to force the sales order form to save. I'm not sure if there's a way to script the saving of the sales order.)