Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.15 KB

File metadata and controls

35 lines (23 loc) · 1.15 KB
title description author ms.author ms.date ms.reviewer ms.topic applies_to search.audienceType contributors
control.getValue (Client API reference) in model-driven apps| MicrosoftDocs
Includes description and supported parameters for the getValue method.
chmoncay
chmoncay
03/12/2022
jdaly
reference
Dynamics 365 (online)
developer
JimDaly

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.

[!INCLUDEfooter-include]