I have a script that checks for if(crmForm.FormType == 1). Everything works fine when I am logged in as the system administrator. However, when I am logged in as a full access user (read & write) then crmForm.FormType is undefined. I double checked this with alert(crmForm.FormType). crmForm.all is defined for both but not crmForm.FormType. Why is the behavior for this different depending on the user that is logged in?
↧