Thursday, June 24, 2010

Set Focus to a field in CRM form in MS CRM 4.0

function SetFocustoaField()
{
var oField = crmForm.all.new_name;
oField.onblur = function() {
oField.SetFocus();
oField.onblur = null;
}
oField.SetFocus();
}

No comments: