Answers.Body: <p>I have a number of webforms where the user is logged in and we have set the auto-complete to be based on the relationship between the user and their organisation.</p>
  
  <p>Contact 1 is the individual and Contact 2 is the organisation.</p>
  
  <p>I would imagine that using non-logged in users is similar, depending on how exposed the organisation list is? Would it make two contacts if there were none matching then create a relationship?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-02T17:20:34.767Z
Answers.Text: Darren, we would ask Participants in the Event to select an organization from a dropdown - for some existing contacts/Participants a Relationship to an existing Organization may already exist in Civi, others might be both new contacts/Participants and new Organizations to be added to Civi and the relationship created (Participant is a Member (or Board Member, or Staff) of the Organization).
Answers.UserDisplayName: Joe McLaughlin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-02T17:10:34.640Z
Answers.LastActivityDate: 2015-09-02T17:10:34.640Z
Answers.UserDisplayName: Darren Whittenham-Gray
Body: <p>How can I make a Civi event registration form that collects the individual's information as well as the organization to which they are affiliated? Would I have to use a webform? We're on 4.6.8, Drupal. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-16T10:01:43.467Z
Comments.Text: Joe, how did you handle this? We've got nearly the same requirements.
Comments.UserDisplayName: nielo
Tags: <civievent><webform-civicrm>
Title: How can I make a civi event registration form that collects the individual's information as well as the organization to which they are affiliated?
ThreadText: # How can I make a civi event registration form that collects the individual's information as well as the organization to which they are affiliated?
  
  (Asked by: username_0 on 2015-09-02)
  
  How can I make a Civi event registration form that collects the individual's information as well as the organization to which they are affiliated? Would I have to use a webform? We're on 4.6.8, Drupal.
  
  **Tags:** civievent, webform-civicrm
  
  > **Comments:**
  > **username_1**: Joe, how did you handle this? We've got nearly the same requirements.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-09-02. Score: 1
  
  I have a number of webforms where the user is logged in and we have set the auto-complete to be based on the relationship between the user and their organisation.
  
  Contact 1 is the individual and Contact 2 is the organisation.
  
  I would imagine that using non-logged in users is similar, depending on how exposed the organisation list is? Would it make two contacts if there were none matching then create a relationship?
  
  > **Comments:**
  > **username_0**: username_2, we would ask Participants in the Event to select an organization from a dropdown - for some existing contacts/Participants a Relationship to an existing Organization may already exist in Civi, others might be both new contacts/Participants and new Organizations to be added to Civi and the relationship created (Participant is a Member (or Board Member, or Staff) of the Organization).  
  
  ---
  
  