Answers.Body: <p>It's hardcoded at <a href="https://github.com/civicrm/civicrm-core/blob/92aa28150564135bd58b63c68914f3fd0763908a/CRM/Contact/Form/Edit/Individual.php#L107" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/92aa28150564135bd58b63c68914f3fd0763908a/CRM/Contact/Form/Edit/Individual.php#L107</a> but maybe it's time this rule was updated since you can create contacts with the api that just have last name, and openid isn't enabled by default.</p>
  <p>If you have an email address, or enter a fake one, it will save with just last name.</p>
  <p>Or you could enable the openid field at admin - customize - display prefs, and then enter a fake url into that field on the form and then it will save with just a last name.</p>
  <p>Note you may want to update your dedupe rules though to include some other field if you really want just last names.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-16T12:48:46.200Z
Answers.Text: I'd be happy if that issue is reconsidered within the next releases.
Answers.UserDisplayName: Jan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-14T17:40:42.860Z
Answers.LastActivityDate: 2024-04-14T17:40:42.860Z
Answers.UserDisplayName: Demerit
Body: <p>Is there a way to change the contact validation to allow only last names like &quot;Mr. Smith&quot;?</p>
  
Tags: <validation>
Title: Can I have contacts without email and first name?
ThreadText: # Can I have contacts without email and first name?
  
  (Asked by: username_0 on 2024-04-13)
  
  Is there a way to change the contact validation to allow only last names like "Mr. Smith"?
  
  **Tags:** validation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-04-14. Score: 1 | Accepted answer
  
  It's hardcoded at <https://github.com/civicrm/civicrm-core/blob/92aa28150564135bd58b63c68914f3fd0763908a/CRM/Contact/Form/Edit/Individual.php#L107> but maybe it's time this rule was updated since you can create contacts with the api that just have last name, and openid isn't enabled by default.
  
  If you have an email address, or enter a fake one, it will save with just last name.
  
  Or you could enable the openid field at admin - customize - display prefs, and then enter a fake url into that field on the form and then it will save with just a last name.
  
  Note you may want to update your dedupe rules though to include some other field if you really want just last names.
  
  > **Comments:**
  > **username_0**: I'd be happy if that issue is reconsidered within the next releases.  
  
  ---
  
  