Modules

filter

 

Objects/Functions

module (N/currentRecord)

SuiteScript 2.0

Field.isMandatory

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Field.isMandatory for more information.

N/currentRecord Module
Field.isMandatory
Property Description: Returns true if the standard or custom field is mandatory on the record form, or false otherwise.
Type: boolean
Module: N/currentRecord Module
Supported Script Types: Client scripts For more information, see SuiteScript 2.0 Client Script Type.
Since: 2016.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Field.isMandatory

Example:

// Code Example 1
//Add additional code
//...
if (objField.isMandatory) {
...
}
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4794223029.html