Question : MS CRM OnLoad error

I have the following code in the OnLoad event. It is supposed to populate an Iframe from a hyperlink that is in another field called new_cllink.

Attached is the error.
1:
2:
3:
4:
5:
6:
7:
{ 
var AccountURL = crmForm.all.new_cllink.DataValue; 
if (AccountURL != null) 
{ 
crmForm.all.IFRAME_CLAccount.src = AccountURL; 
} 
}
Attachments:
 
 

Answer : MS CRM OnLoad error

Ok. I found this comment regarding c360 in another website which suggests that you should put your script before any c360 script:

From http://www.eggheadcafe.com/software/aspnet/31983951/crmform-is-undefined.aspx

It looks like my actual issue was in the sequence of
my script vs the boilerplate script that c360 inserted automatically
to handle its alert functionality.  If I try to reference crmForm
after their script, it is undefined.  I had believed I had tested my
script before the c360 script or with the c360 script removed
completely, but I must have made a mistake when I did so.
Random Solutions  
 
programming4us programming4us