Use this to add a function as an event handler for the keypress event so that the function is called when you type a character in the specific text or number field. For a sample JavaScript code that uses the addOnKeyPress method to configure the auto-completion experience, see Sample: Auto-complete in CRM controls.
The function reference.
Use this to remove an event handler for a text or number field that you added using addOnKeyPress.
The function reference.
Deprecated in v9.1; Use a custom control.
External Link: Deprecated Client APIs Remarks: If an anonymous function is set using addOnKeyPress, it can’t be removed using this method.
Generated using TypeDoc
Interface for controls which methods provide immediate feedback or take actions as user types in a control. Contains methods which can be used to perform data validations in a control even before the user commits (saves) the value in a form.
Deprecated
Use UiKeyPressable instead.