Answers.Body: <p>There is a scenario where a relationship can be created via a profile. If you add a "Current Employer" field to a profile, the employer gets created or matched by name and an "Employee of" relationship is created between the individual and the employer.</p>
  
  <p>If you need more flexibility, the <a href="https://civicrm.org/extensions/civirelate" rel="nofollow">CiviRelate extension</a> may help.</p>
  
  <p>If this doesn't meet you needs, I would consider using the <a href="https://www.drupal.org/project/webform_civicrm" rel="nofollow">Webform CiviCRM Integration module</a>, if that's feasible in your case.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-09T14:21:32.583Z
Answers.Text: Thanks for the response. This would be using WP as the CMS, so these options wouldn't work. I am seeking something that is CMS independent.
Answers.UserDisplayName: Dana
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-09T14:41:27.243Z
Answers.Text: Ah, I see you've edited the question to specify the CMS. Apologies for being Drupal-centric! I've added the tag wordpress to your question.
Answers.UserDisplayName: davejenx
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-09T09:36:27.287Z
Answers.LastActivityDate: 2015-07-09T09:41:59.590Z
Answers.LastEditDate: 2015-07-09T09:41:59.590Z
Answers.UserDisplayName: davejenx
Answers.Body: <p>Updating this to note that it can be done with the <a href="https://github.com/mecachisenros/caldera-forms-civicrm/" rel="nofollow noreferrer">Caldera Forms CiviCRM</a> integration plugin. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-02T17:42:40.080Z
Answers.LastActivityDate: 2017-11-02T17:42:40.080Z
Answers.UserDisplayName: Dana
Body: <p>Currently there is no a way to add relationship to a profile on submission. Meaning when someone submits a new profile that a relationship be attached to that contact. </p>
  
  <p>This question outlines how it can be done via API <a href="https://civicrm.stackexchange.com/questions/284/how-to-use-api-chaining-to-create-a-contact-and-a-relationship">How to use API chaining to create a contact and a relationship</a> </p>
  
  <p>In the case I currently need it for WP is the CMS, so I would be seeking something that is CMS independent, the Drupal modules wouldn't work. </p>
  
  <p>What is needed to be done so that there is an option in the settings of the profile to create a relationship. Has anyone done any work like this or have any ideas on what makes sense to look at for something be developed? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-09T01:37:42.687Z
Comments.Text: Just a thought here ... is the Webform_CiviCRM _integration module code a helpful guide to doing this?
Comments.UserDisplayName: Eliot Mason
Tags: <wordpress><profile><relationships>
Title: Add relationship on profile submission
ThreadText: # Add relationship on profile submission
  
  (Asked by: username_0 on 2015-07-08)
  
  Currently there is no a way to add relationship to a profile on submission. Meaning when someone submits a new profile that a relationship be attached to that contact.
  
  This question outlines how it can be done via API [How to use API chaining to create a contact and a relationship](https://civicrm.stackexchange.com/questions/284/how-to-use-api-chaining-to-create-a-contact-and-a-relationship)
  
  In the case I currently need it for WP is the CMS, so I would be seeking something that is CMS independent, the Drupal modules wouldn't work.
  
  What is needed to be done so that there is an option in the settings of the profile to create a relationship. Has anyone done any work like this or have any ideas on what makes sense to look at for something be developed?
  
  **Tags:** wordpress, profile, relationships
  
  > **Comments:**
  > **username_1**: Just a thought here ... is the Webform_CiviCRM _integration module code a helpful guide to doing this?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-07-09. Score: 3
  
  There is a scenario where a relationship can be created via a profile. If you add a "Current Employer" field to a profile, the employer gets created or matched by name and an "Employee of" relationship is created between the individual and the employer.
  
  If you need more flexibility, the [CiviRelate extension](https://civicrm.org/extensions/civirelate) may help.
  
  If this doesn't meet you needs, I would consider using the [Webform CiviCRM Integration module](https://www.drupal.org/project/webform_civicrm), if that's feasible in your case.
  
  > **Comments:**
  > **username_0**: Thanks for the response. This would be using WP as the CMS, so these options wouldn't work. I am seeking something that is CMS independent.  
  > **username_2**: Ah, I see you've edited the question to specify the CMS. Apologies for being Drupal-centric! I've added the tag wordpress to your question.  
  
  ---
  
  ### Answer by username_0 on 2017-11-02. Score: 1
  
  Updating this to note that it can be done with the [Caldera Forms CiviCRM](https://github.com/mecachisenros/caldera-forms-civicrm/) integration plugin.
  
  
  ---
  
  