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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for