Hi
You can attach what ever event you like to the controls on the form by extending the available functionality in CRM. You can use form onLoad Event to attach the attrbutes.
An example of attaching an event "OnFocus" of an element here
var refreshcountarea = document.getElementById("crmNavBar");
// ensure counts for activities etc are up to date
refreshcountarea.attachEvent("onfocusin", CheckCountsUpdated); //CheckCountsUpdated is the function that gets called when the control receives the focusin
More on attachEvent
http://msdn.microsoft.com/en-us/library/ms536343%28VS.85%29.aspx
Hope this helps. Amar
CRM Forum Guidance on how to
Help Us Help You