Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Field.isDisabled for more information.
N/currentRecord Module
Field.isDisabled
Property Description:
This property reflects the display type of a field. A value of true means the field is disabled. A value of false means the field is enabled. Note also:
If you are working with a body field, you can use this property to change the field’s display type.
If you are working with a sublist field, you can set this property to true or false, but be aware that this action affects the entire sublist column, even though a sublist field is associated with one line.
For both body and sublist fields, you can use Field.isDisabled to determine whether the field is disabled or enabled.
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.isDisabled
Example:
// Code Example 1
//Add additional code
//...
if (objField.isDisabled) {
...
}
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4794215939.html