To close this set of tips, let’s look at a snippet of JS to set the focus on a specific control in a form:
var ctrl = Xrm.Page.ui.controls.get(“ControlName”);
control.setFocus();
Not necessarily a CRM feature but rather a JS feature, yet used in the context of CRM 2011. This works on both On-Premise and Online.
Enjoy!
Leave a Reply