Answers.Body: <p>Which url parameters did you try? cid? contact_id? etc..
  Another solution which is working is using Drupal CiviCRM Webforms and link to a prefilled webform from within your view.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-13T21:29:00.473Z
Answers.Text: I tried cid but in create mode you cannot use that because its creating a new contact. Drupal webforms do not allow for druapl registration. My goal is to let organizations register their username and password using this profile and not creating a new contact since they already exist in the system but dont have a druapl account.
Answers.UserDisplayName: WVMike
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-12T21:02:16.757Z
Answers.LastActivityDate: 2016-01-12T21:02:16.757Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Answers.Body: <p>Maybe i misunderstand but if you want the profile prefilled then you should change the word 'create' in the url to 'edit' - then a logged in user or person with a checksum will see their data in the fields.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-13T21:26:51.023Z
Answers.Text: I am trying to prefill the organization name field so that i do not get duplicate contacts. These organizations exist in my system now but do not have user accounts in drupal. I have a profile that allows users to register a user account for the organization but unless the org name is exact it will create a duplicate contact record.
Answers.UserDisplayName: WVMike
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-14T01:18:42.110Z
Answers.Text: So won't a Webform-CiviCRM solution work? Ie they enter their name, and they have an autocomplete option for their Organisation?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-15T13:18:09.553Z
Answers.Text: It would if i was able to assign a username and password for that user using a webform. Is that possible?
Answers.UserDisplayName: WVMike
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-16T00:15:31.783Z
Answers.Text: we came up with quite a convoluted work around - give civi contact a tag, set Drupal Rules to act on that Tag and create user account and if desired log them in instantly. I blogged about that here and the examples i attached may still be good to use. https://civicrm.org/blogs/petednz/creating-drupal-users-made-easy-single-or-multiple-contacts-civi-imports-and-webforms
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-12T22:50:31.857Z
Answers.LastActivityDate: 2016-01-12T22:50:31.857Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>What is the easiest was to prefill a field on a profile that is in create mode? I am linking from a drupal view where they click on the name of their organization and it will put the org name in the url. But i have been unable to use anything in the url to prefill the org name field on the profile. </p>
  
Tags: <profile><urls>
Title: Prefill Profile in create mode
ThreadText: # Prefill Profile in create mode
  
  (Asked by: username_0 on 2016-01-12)
  
  What is the easiest was to prefill a field on a profile that is in create mode? I am linking from a drupal view where they click on the name of their organization and it will put the org name in the url. But i have been unable to use anything in the url to prefill the org name field on the profile.
  
  **Tags:** profile, urls
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-01-12. Score: 1
  
  Which url parameters did you try? cid? contact\_id? etc..
  Another solution which is working is using Drupal CiviCRM Webforms and link to a prefilled webform from within your view.
  
  > **Comments:**
  > **username_0**: I tried cid but in create mode you cannot use that because its creating a new contact. Drupal webforms do not allow for druapl registration. My goal is to let organizations register their username and password using this profile and not creating a new contact since they already exist in the system but dont have a druapl account.  
  
  ---
  
  ### Answer by username_2 on 2016-01-12. Score: 0
  
  Maybe i misunderstand but if you want the profile prefilled then you should change the word 'create' in the url to 'edit' - then a logged in user or person with a checksum will see their data in the fields.
  
  > **Comments:**
  > **username_0**: I am trying to prefill the organization name field so that i do not get duplicate contacts. These organizations exist in my system now but do not have user accounts in drupal. I have a profile that allows users to register a user account for the organization but unless the org name is exact it will create a duplicate contact record.  
  > **username_2**: So won't a Webform-CiviCRM solution work? Ie they enter their name, and they have an autocomplete option for their Organisation?  
  > **username_0**: It would if i was able to assign a username and password for that user using a webform. Is that possible?  
  > **username_2**: we came up with quite a convoluted work around - give civi contact a tag, set Drupal Rules to act on that Tag and create user account and if desired log them in instantly. I blogged about that here and the examples i attached may still be good to use. https://civicrm.org/blogs/username_2/creating-drupal-users-made-easy-single-or-multiple-contacts-civi-imports-and-webforms  
  
  ---
  
  