Hi, if you're facing the "Unable to get Value of the propert 'getFormType': object is null or undefined" error message, then there is probably an error in the way you call the javascript, not necessarily the script itself. Have a look in the form
onload/onsave properties and see if you're calling the right function.
Ronald Lemmen
Microsoft Dynamics CRM MVP
http://www.ronaldlemmen.com