Answers.Body: <p>You can create 'multiple record' fields which will allow your users to keep adding more sets of the same fields until you have enough to cover your 'x years'.</p>
  
  <p>There is documentation in the book <a href="https://docs.civicrm.org/user/en/stable/organising-your-data/creating-custom-fields/" rel="nofollow noreferrer">here</a></p>
  
  <p>Hope that is what you are needing.</p>
  
  <p>NOTE: Multiple Rows do come with limitations and gotchas</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-15T16:33:22.943Z
Answers.Text: Thank you Pete.  I created a new set for the questions which require multiple answer functionality.  Is there a way to carry this over into a Drupal webform?
Answers.UserDisplayName: Chris Fgl
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-16T09:10:47.570Z
Answers.Text: based on answers on these other tickets, sounds possible: http://civicrm.stackexchange.com/questions/6360/how-are-multiple-record-custom-fields-handled-in-drupal-webforms or http://civicrm.stackexchange.com/questions/7238/how-to-target-record-id-for-multiple-record-custom-field-set-in-webfom
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-17T15:20:57.257Z
Answers.Text: A word of caution about using multiple row fields: they can't be exported. I've gotten around this on Drupal with the Views and Views Export modules.
Answers.UserDisplayName: Dan O'Brien
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-18T20:08:35.927Z
Answers.Text: Yes good reminder for everyone Dan, Multiple Rows do come with limitations and gotchas.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-15T07:43:18.923Z
Answers.LastActivityDate: 2017-01-13T23:22:45.503Z
Answers.LastEditDate: 2017-01-13T23:22:45.503Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I would like to create a set of custom fields, whereby the user is asked to enter data relating to the location of the contact's previous address, and another field specifying the amount of time the contact was at that address.</p>
  
  <p>The user should be able to continue adding locations, until there is data going back x years.</p>
  
  <p>Is this possible to implement from within Civi?</p>
  
Tags: <custom-fields>
Title: Creating custom fields: 1) previous address 2) number of years at this address
ThreadText: # Creating custom fields: 1) previous address 2) number of years at this address
  
  (Asked by: username_0 on 2016-10-14)
  
  I would like to create a set of custom fields, whereby the user is asked to enter data relating to the location of the contact's previous address, and another field specifying the amount of time the contact was at that address.
  
  The user should be able to continue adding locations, until there is data going back x years.
  
  Is this possible to implement from within Civi?
  
  **Tags:** custom-fields
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-10-15. Score: 1
  
  You can create 'multiple record' fields which will allow your users to keep adding more sets of the same fields until you have enough to cover your 'x years'.
  
  There is documentation in the book [here](https://docs.civicrm.org/user/en/stable/organising-your-data/creating-custom-fields/)
  
  Hope that is what you are needing.
  
  NOTE: Multiple Rows do come with limitations and gotchas
  
  > **Comments:**
  > **username_0**: Thank you Pete.  I created a new set for the questions which require multiple answer functionality.  Is there a way to carry this over into a Drupal webform?  
  > **username_1**: based on answers on these other tickets, sounds possible: http://civicrm.stackexchange.com/questions/6360/how-are-multiple-record-custom-fields-handled-in-drupal-webforms or http://civicrm.stackexchange.com/questions/7238/how-to-target-record-id-for-multiple-record-custom-field-set-in-webfom  
  > **username_2**: A word of caution about using multiple row fields: they can't be exported. I've gotten around this on Drupal with the Views and Views Export modules.  
  > **username_1**: Yes good reminder for everyone Dan, Multiple Rows do come with limitations and gotchas.  
  
  ---
  
  