SP.FieldMultiLineText.numberOfLines property (sp.js)

Gets or sets a value that specifies the number of lines of text to display for the field.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.FieldMultiLineText.get_numberOfLines ()
var value = SP.FieldMultiLineText.set_numberOfLines ()

Return value

Type: Number


Its value must be equal to or greater than 1. Its value must be equal to or less than 1000.