SP.Field.validateSetValue Method (sp.js)

Validates and parses the input value and updates the value of the list item.

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

SP.Field.validateSetValue()

Parameters

  • item
    Type: SP.ListItem

    Specifies the list item to be updated with the new value.

  • value
    Type: String

    Specifies the new value for the field.

Return value

Undefined

Remarks

The item parameter must not be null.

REST resource endpoint

Not implemented.