I'm trying to set focus on the address1_postalcode field during the contact form load event. However when the script is run it throws an error.
Code:
Xrm.Page.ui.controls.get('address1_postalcode').setFocus();
And here is the error message:
I want to seek your kind help/suggestion in this manner to resolve it.