Hi,

I'm not sure if this design is on purpose: When creating new contact types there is no way (or at least I cannot find it) of setting the name field for each contact type individually.

Steps to reproduce

  1. Create a new contact type (I called it Company)
  2. A name field is created by default (contact_name). This field is directly connected to the contact type Individuals. So every change in name of the new contact type (Company) is automatically applied to Individuals.

Is this by design?

Comments

Anonymous’s picture

@Herr Lehmann - Actually, this is not the way things work.

If you create a new contact type, you can customize the information collected in the name field just for that contact type.

The way you would do this is to go to manage fields, and click on the edit link for the name field. You should get a message that says 'The field Name is locked and cannot be edited.' This is to be expected - it refers to editing the definition of the field, but will not prevent you from customizing the labels.

From there, hit the link for field settings. You will see a list of name field parts which you can customize for each contact type.

Let me know if this works for you, or if you are running into other issues.

joemaine’s picture

This isn't working for me either. As soon as you edit the name fields for one contact type it changes the fields for all contact types. It seems there should be a way to distinguish between the 'name' fields for Organization and Individual. I want to require first and last name for individuals and create a required 'company name' field for organizations. I tried deleting the contact type 'organization' and created 'company' but there was no way to over-ride the 'contact-name' field. ...I've also tried to customize the labels but seem to always end up with the default 'name' fields.

rosk0’s picture

@joemaine: Maybe your problem is related to "name" module? Because crm_core really just uses it's code without any customizations.

Anonymous’s picture

Status: Active » Closed (duplicate)

Duplicate of https://drupal.org/node/2004560.

Moving the discussion over there.