control.getValue (Client API reference)

Gets the latest value in a control as the user types characters in a specific text or number column. This method helps you to build interactive experiences by validating data and alerting users as they type characters in a control.

The getValue method is different from the column getValue method because the control method retrieves the value from the control as the user is typing in the control as opposed to the column getValue method that retrieves the value after the user commits (saves) the column.

Syntax

formContext.getControl(arg).getValue();

Return Value

Type: String

Description: The latest data value for a control.