Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

How to set a focus on a field when the form loads?

$
0
0

Hello,

I am running the below line of code when the form loads, but it never goes to the field, it keeps going to a required field on the form instead.

function setfocus()
{
 Xrm.Page.ui.controls.get("nhs_claimswithcostdatacomments").setFocus();
}

any ideas why?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>