Field.isDisplay
The content in this help topic pertains to SuiteScript 2.0.
Property Description |
Returns This property is available only when working with a record in dynamic mode. For more information about record modes, see SuiteScript 2.x Standard and Dynamic Modes. This property is not available when working with record sublist fields. It is only available when working with record body fields. |
Type |
boolean |
Supported Script Types |
Client and server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Sibling Object Members |
|
Since |
2015.2 |
Syntax
// Add additional code
define(['N/currentRecord'], function(currentRecord){
return {
pageInit: function(context) {
var record = currentRecord.get();
var field = record.getField({
fieldId:"custbody1"
});
field.isDisplay = false;
}
}
}
...
// Add additional code