This question is regarding the Dynamics CRM 2013 add phone call feature in the activity tab of post/activity/note control on a custom entity. The party lookup and type ahead values default to the account entity. I want to change that to the contact entity. I've read in similar questions that I'm suppsoed to add this to an onload event:
//set default
crmForm.all.customerid.defaulttype = "2";
That was an unsupported solution and I'm not able to get it to work in 2013. I'm also not sure which form to embed that in, does the post/activity/control use the quick form for phone call? If so I don't believe I can add javascript events to it. Any help would be much appreciated.