I am working on Dynamics CRM 9.1 version.
I have requirement to AutoComplete a single line text filed 'Country' on 'Address' entity(OOB entity).
I was trying Xrm.Page.getControl("country").addOnKeyPress(keyPressFcn) on load, but i see error message that - Object does not support property or method 'addOnKeyPress'.
But when I try 'addOnKeyPress' method on Account entity it was work as expected.
Any suggestion how can I achieve the same on 'Address' entity(OOB entity).