Field.isDisplay

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

Returns true if the field is visible on the record form, or false if it is not.

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

N/record Module

Sibling Object Members

Field 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 

          

Related Topics

record.Field
N/record Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices