Sets an identifier for the text field.

<void> TextField.setID(<number> id, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
id An identifier for the text field.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.