How to set up a dropdown list that references a list on the form

How to set up a dropdown list that references a list on the form


End Result: Options in the dropdown list will be what you have added to a particular field in the rows of an array 


  1. Add your array to the form and add the required fields into the array. For this example, we’ll create an array named “serial-array” with two fields, Equipment ID and Serial Number 

  1. Add a dropdown list field to the form (the dropdown list is from the “selectors” controls NOT the “List & Tables” controls
  2. Uncheck “Create a New Field” in the “create a new field or reference an existing field pop up and select your array as the referenced field

 

  1. Add a number field to the form named “selected-index” and make it hidden always (visible = false) 
  2. Click on the dropdown list field and navigate to the control properties 
  3. Map your “selected-index” number field into the Selection Field

  1. Add a calculation to the label so that it pulls the field from your array you want to populate in the dropdown list 

  1. Preview your form in the designer and observe for this example any value I key into the serial number field of each row will appear as an option in my dropdown list