I'm using microsoft dynamics crm 4
I inserted the following line to restrict a customer lookup to contacts only (no accounts):
crmForm.all.customerid.setAttribute("lookuptypes", "2");
It does restrict the lookup to contacts only, but there is a strange bug:
When i select any customer, the icon next to him becomes the account icon, not the contact icon (folder instead of card)
Any solutions to this ?