Sets the name of a text field.

<void> TextField.setName(<string> name, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
name Relates a user-defined name to a text field.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.