Answers.Body: <p>The Editing contact options are listed from option groups named 'Contact Edit Options'. Check if the options are present in the 'Contact Edit Options' option group. If not then adding options should fix the problem. Unfortunately the UI doesn't allow you at add a new option. But you can add it through api/explorer screen of CiviCRM.</p>
  
  <p><a href="https://i.sstatic.net/LkCHS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LkCHS.png" alt="enter image description here"></a></p>
  
  <p>Note: Option Name should be the field name same as column name in civicrm_contact table eg first_name, last_name, middle_name etc.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-30T16:53:52.163Z
Answers.Text: Thank you so much. Aparently when I imported the Option Groups from my old site I truncated those values. Had I upgraded 4.5.alpha1.mysql.tpl would have added them automatically. Hopefully I don't have any more surprises like that. Greatly appreciated.
Answers.UserDisplayName: Anthony Metcalf
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-30T17:48:05.527Z
Answers.Text: Is there a cv command to search for and add missing fields? I just noticed the environment fields are missing also.
Answers.UserDisplayName: Anthony Metcalf
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-30T12:33:37.040Z
Answers.LastActivityDate: 2019-04-30T12:33:37.040Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>Check your profiles - the fields on the new individual form are profile driven - you can see what profiles should be on a new site on the demo site <a href="https://dmaster.demo.civicrm.org/civicrm/admin/uf/group?reset=1&amp;selectedChild=reserved-profiles" rel="nofollow noreferrer">https://dmaster.demo.civicrm.org/civicrm/admin/uf/group?reset=1&amp;selectedChild=reserved-profiles</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-30T03:15:23.807Z
Answers.Text: You are right that New Individual is a Profile, but the screenshot, with all the missing Individual Name Fields, is not Profile driven afaik.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-30T03:17:55.227Z
Answers.Text: if you look at https://dmaster.demo.civicrm.org/civicrm/admin/setting/preferences/display?reset=1 you will see it lists; Prefix, Format Title, First Name etc etc. Fact these are not showing suggests something much deeper is the problem
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-29T23:22:51.973Z
Answers.LastActivityDate: 2019-04-29T23:22:51.973Z
Answers.UserDisplayName: user4278
Body: <p>I recently migrated my CiviCRM 4.4.10lts that was running on Joomla to a fresh 5.12.4 install on Drupal 7.66. The LAMP is an Ubuntu 18.04 stack on Azure. </p>
  
  <p><a href="https://i.sstatic.net/1Hv8c.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1Hv8c.jpg" alt="Screenshot"></a></p>
  
  <p>I had to copy my data into the new database manually because of errors in the Cases component that prevented me from upgrading and my old host upgraded their MySql server to a version not supported by my version. </p>
  
  <p>Now, none of the individual name fields are available when creating new individual contacts. If I add a new contact record using the New Individual block it creates a contact without a name. When viewing an existing contact record the names are there but if I attempt to edit them with either the inline editor or the normal contact edit function the names disappear.</p>
  
  <p>There are no errors being thrown in either Drupal or CiviCRM and I have the same results with any theme I use.</p>
  
  <p>I suspect I accidentally overwrote something in one of the tables while moving data but have no idea where to begin. Any help would be greatly appreciated</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-30T03:15:59.497Z
Comments.Text: What about creating new Organisation? just trying to help you fathom what more might be borked. ditto Households.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-04-30T05:38:48.137Z
Comments.Text: They are both fine. It seems to only be the the individual name fields that are missing.
Comments.UserDisplayName: Anthony Metcalf
Tags: <contacts><fields><missing>
Title: Individual Name Fields are not available when adding a new contact
ThreadText: # Individual Name Fields are not available when adding a new contact
  
  (Asked by: username_0 on 2019-04-29)
  
  I recently migrated my CiviCRM 4.4.10lts that was running on Joomla to a fresh 5.12.4 install on Drupal 7.66. The LAMP is an Ubuntu 18.04 stack on Azure.
  
  [![Screenshot](https://i.sstatic.net/1Hv8c.jpg)](https://i.sstatic.net/1Hv8c.jpg)
  
  I had to copy my data into the new database manually because of errors in the Cases component that prevented me from upgrading and my old host upgraded their MySql server to a version not supported by my version.
  
  Now, none of the individual name fields are available when creating new individual contacts. If I add a new contact record using the New Individual block it creates a contact without a name. When viewing an existing contact record the names are there but if I attempt to edit them with either the inline editor or the normal contact edit function the names disappear.
  
  There are no errors being thrown in either Drupal or CiviCRM and I have the same results with any theme I use.
  
  I suspect I accidentally overwrote something in one of the tables while moving data but have no idea where to begin. Any help would be greatly appreciated
  
  **Tags:** contacts, fields, missing
  
  > **Comments:**
  > **username_1**: What about creating new Organisation? just trying to help you fathom what more might be borked. ditto Households.  
  > **username_0**: They are both fine. It seems to only be the the individual name fields that are missing.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-04-30. Score: 2 | Accepted answer
  
  The Editing contact options are listed from option groups named 'Contact Edit Options'. Check if the options are present in the 'Contact Edit Options' option group. If not then adding options should fix the problem. Unfortunately the UI doesn't allow you at add a new option. But you can add it through api/explorer screen of CiviCRM.
  
  [![enter image description here](https://i.sstatic.net/LkCHS.png)](https://i.sstatic.net/LkCHS.png)
  
  Note: Option Name should be the field name same as column name in civicrm\_contact table eg first\_name, last\_name, middle\_name etc.
  
  > **Comments:**
  > **username_0**: Thank you so much. Aparently when I imported the Option Groups from my old site I truncated those values. Had I upgraded 4.5.alpha1.mysql.tpl would have added them automatically. Hopefully I don't have any more surprises like that. Greatly appreciated.  
  > **username_0**: Is there a cv command to search for and add missing fields? I just noticed the environment fields are missing also.  
  
  ---
  
  ### Answer by username_3 on 2019-04-29. Score: 0
  
  Check your profiles - the fields on the new individual form are profile driven - you can see what profiles should be on a new site on the demo site <https://dmaster.demo.civicrm.org/civicrm/admin/uf/group?reset=1&selectedChild=reserved-profiles>
  
  > **Comments:**
  > **username_1**: You are right that New Individual is a Profile, but the screenshot, with all the missing Individual Name Fields, is not Profile driven afaik.  
  > **username_1**: if you look at https://dmaster.demo.civicrm.org/civicrm/admin/setting/preferences/display?reset=1 you will see it lists; Prefix, Format Title, First Name etc etc. Fact these are not showing suggests something much deeper is the problem  
  
  ---
  
  