Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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.)