Field.type

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

Returns the type of a body or sublist field.

For example, the value can return text, date, currency, select, checkbox, and other similar values. For more information about possible return values, see format.Type.

The maximum character limit for select field types is 801.

Type

string (read-only)

Module

N/currentRecord Module

Supported Script Types

Client scripts

For more information, see SuiteScript 2.x Client Script Type.

Since

2016.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/currentRecord Module Script Samples.

          //Add additional code 
...
var type = objField.type;
...
//Add additional code 

        

Related Topics

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

General Notices