Hello all,
I am trying to run some custom JavaScript on load of a quick create form. Here is an example of the code i am using.
var goalName = Xrm.Page.getAttribute("enc_name");
goalName.setValue("test");
The error i am getting is the following: "TypeError: Cannot read property 'setValue' of null"
I tried to debug my code in the browsers console, but it seems to be working on all levels.
Can anyone assist me with this?
Thank You!
Leibish Ringel