Posts

Showing posts with the label #clientscript

Netsuite's client script

Image
Hi there, Thanks for visiting Netsuite Guru, In this topic we are going to learn about Netsuite's Client Script. Client script also trigger on some actions but on Client side or we can say on browser. Client side is similar to what we call client side validation in HTML/Javascript. Example: 1. On loading of form for editing 2. Validate data before or after entering in field 3. Adding line 4. Saving form and many more other triggering points. Client Script Entry Points: 1. fieldChanged :  Executed when a field is changed by a user or client side call. 2.  lineInit : Executed when an existing line is selected. 3. pageInit : Executed when the page completes loading or when the form is reset. 4. postSourcing : Executed on transaction forms when a field that sources information from another field is modified. 5. saveRecord : Executed after the submit button is pressed but before the form is submitted. 6. sublistChanged : Executed after a sublist has been i...