Answers.Body: <p>You will need to check few things </p>
  
  <ol>
  <li><p>Check if the profile has create user account option enabled.</p></li>
  <li><p>Check drupal settings if Anonymous user is allowed to create account(Configuration >> Account Settings).</p></li>
  <li><p>Make sure your profile has email field and is primary or uses default location type</p></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T15:13:40.460Z
Answers.Text: Hi Pradeep, yup both options in place.
  
  And anon user can use profile in create permission in place.
  
  Will edit question to make that a bit clearer.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T15:18:32.213Z
Answers.Text: just updated my answer to add one more check
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T15:41:33.100Z
Answers.Text: Aaaaah,
  
  Both profiles have first name, last name and email fields marked.
  
  I have switched the email locations round on the profiles (home to main), (main to work). Could that have affected the user log in in anyway?
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T16:26:49.020Z
Answers.Text: Thank you.
  
  Looks like email- location has to be set to site default for user acct creation to work.
  
  Who'd'a'thunkit?
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T16:39:03.607Z
Answers.Text: I guess it should be primary email. I will update my answer, so can you mark this solution as answered if this solves your problem?
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-24T14:48:47.187Z
Answers.Text: Accepted. Thanks again for your help.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T14:56:05.723Z
Answers.LastActivityDate: 2018-08-23T16:39:41.757Z
Answers.LastEditDate: 2018-08-23T16:39:41.757Z
Answers.UserDisplayName: Pradeep Nayak
Answers.Body: <p>Thanks to Pradeep's intervention I've reinstated the user acct fields.</p>
  
  <p>The site default location is home. So when first creating the profiles they defaulted to email location= home.</p>
  
  <p>As I was making changes to the system I though semantically "Main" was a better location and updated the profile emails fields accordingly.</p>
  
  <p>That's what broke the profiles.</p>
  
  <p>re-editing the fields and setting location = home, gives me working user acct profiles.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-23T16:25:00.903Z
Answers.LastActivityDate: 2018-08-23T16:25:00.903Z
Answers.UserDisplayName: Craig Almond
Body: <p>I've built two profiles to create user accounts
  1) Volunteers
  Adds contacts to volunteers group to sync with volunteer role
  2) Volunteer Managerss
  Adds contacts to volunteer managers group to sync with volunteer managers role</p>
  
  <p>Both worked fine last week</p>
  
  <p>Went to review the Vol manager profile today and none of the user acct fields (choose username, enterpassword etc) were visible on the profile. But the fields still showed in the volunteer profile.</p>
  
  <p>Have been tinkering with profile settings, saving and unsaving. Can't make them reappear. </p>
  
  <p>Both profiles have same settings: 
  profiles set as standalone form. 
  acct creation required checked. 
  Site visitors can create own accounts set in drupal config. 
  anon users can use profiles in create mode in drupal permissions. </p>
  
  <p>Went to look at the volunteer profile a few minutes ago, and although it was showing user fields earlier, now the fields are missing from both profiles.</p>
  
  <p>Gah!</p>
  
  <p>Any help/ suggestion will be much appreciated!</p>
  
  <p>drupal 7.59
  civi 5.3.1</p>
  
Tags: <profile><user-account>
Title: User account fields missing from create user account profile
ThreadText: # User account fields missing from create user account profile
  
  (Asked by: username_0 on 2018-08-23)
  
  I've built two profiles to create user accounts
  1) Volunteers
  Adds contacts to volunteers group to sync with volunteer role
  2) Volunteer Managerss
  Adds contacts to volunteer managers group to sync with volunteer managers role
  
  Both worked fine last week
  
  Went to review the Vol manager profile today and none of the user acct fields (choose username, enterpassword etc) were visible on the profile. But the fields still showed in the volunteer profile.
  
  Have been tinkering with profile settings, saving and unsaving. Can't make them reappear.
  
  Both profiles have same settings:
  profiles set as standalone form.
  acct creation required checked.
  Site visitors can create own accounts set in drupal config.
  anon users can use profiles in create mode in drupal permissions.
  
  Went to look at the volunteer profile a few minutes ago, and although it was showing user fields earlier, now the fields are missing from both profiles.
  
  Gah!
  
  Any help/ suggestion will be much appreciated!
  
  drupal 7.59
  civi 5.3.1
  
  **Tags:** profile, user-account
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2018-08-23. Score: 2 | Accepted answer
  
  You will need to check few things
  
  1. Check if the profile has create user account option enabled.
  2. Check drupal settings if Anonymous user is allowed to create account(Configuration >> Account Settings).
  3. Make sure your profile has email field and is primary or uses default location type
  
  > **Comments:**
  > **username_0**: Hi Pradeep, yup both options in place.  And anon user can use profile in create permission in place.  Will edit question to make that a bit clearer.  
  > **username_1**: just updated my answer to add one more check  
  > **username_0**: Aaaaah,  Both profiles have first name, last name and email fields marked.  I have switched the email locations round on the profiles (home to main), (main to work). Could that have affected the user log in in anyway?  
  > **username_0**: Thank you.  Looks like email- location has to be set to site default for user acct creation to work.  Who'd'a'thunkit?  
  > **username_1**: I guess it should be primary email. I will update my answer, so can you mark this solution as answered if this solves your problem?  
  > **username_0**: Accepted. Thanks again for your help.  
  
  ---
  
  ### Answer by username_0 on 2018-08-23. Score: 1
  
  Thanks to Pradeep's intervention I've reinstated the user acct fields.
  
  The site default location is home. So when first creating the profiles they defaulted to email location= home.
  
  As I was making changes to the system I though semantically "Main" was a better location and updated the profile emails fields accordingly.
  
  That's what broke the profiles.
  
  re-editing the fields and setting location = home, gives me working user acct profiles.
  
  
  ---
  
  