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.
Calling built-in Validation through Client Script
Hi guys,
I have written some code that is triggered at "Save Record" time. The problem I am having is that now the built-in validation for that form from NetSuite is applied after my script.
This is a problem because some of the requirements of the bespoke piece of code are form's required fields. Is there anyway for me to call the buil-in validation system before my script runs.
At present I am getting an exception which I can handle but I wouldn't want to write my own custom validation method.
I mean something like this:
function clientSaveRecord () {
if (!builInNetSuiteValidation () {
0