Answers.Body: <p>We created an extension that added this functionality.</p>
  
  <p>Edit:
  Unfortunately the extension is not publicly available as it is mixed in with a whole collection of custom stuff we needed to do for this client. Also our requirements changed so we were no longer working off birth date but still setting the end date based on a field completed whilst completing the form.</p>
  
  <p>I am not the coder but as far as I can understand we created a function to set end date to the value we then calculated from the field of interest.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-05T09:47:27.737Z
Answers.Text: Could you say a bit more about your extension to help anyone else facing a similar issue?  Is your code publicly available?
Answers.UserDisplayName: Aidan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-31T23:54:21.340Z
Answers.LastActivityDate: 2017-07-06T04:23:13.753Z
Answers.LastEditDate: 2017-07-06T04:23:13.753Z
Answers.UserDisplayName: Gemma - Fuzion
Body: <p>I want people to be able to sign up for a membership using a contribution form. The membership lasts until the person turns 14. We collect the birthdate information in a profile on the contribution form.</p>
  
  <p>How can I set the membership end date to be calculated from the birth date?</p>
  
  <p>We are using CiviCRM 4.7 and Drupal 7</p>
  
Tags: <civimember>
Title: How can I set the end date of a membership to be calculated from birth date?
ThreadText: # How can I set the end date of a membership to be calculated from birth date?
  
  (Asked by: username_0 on 2017-02-03)
  
  I want people to be able to sign up for a membership using a contribution form. The membership lasts until the person turns 14. We collect the birthdate information in a profile on the contribution form.
  
  How can I set the membership end date to be calculated from the birth date?
  
  We are using CiviCRM 4.7 and Drupal 7
  
  **Tags:** civimember
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-05-31. Score: 1
  
  We created an extension that added this functionality.
  
  Edit:
  Unfortunately the extension is not publicly available as it is mixed in with a whole collection of custom stuff we needed to do for this client. Also our requirements changed so we were no longer working off birth date but still setting the end date based on a field completed whilst completing the form.
  
  I am not the coder but as far as I can understand we created a function to set end date to the value we then calculated from the field of interest.
  
  > **Comments:**
  > **username_1**: Could you say a bit more about your extension to help anyone else facing a similar issue?  Is your code publicly available?  
  
  ---
  
  