Support

Account

Home › Forums › General Issues › ACF Dynamically populate a select field’s choices, even when values are the same › Reply To: ACF Dynamically populate a select field’s choices, even when values are the same

  • You can’t, all values must be unique. ACF stores the value/label pairs in an array like this:

    
    array(
      'value1' => 'label1',
      'value2' => 'label2'
    )
    

    the values are the array indexes and array indexes must be unique. This is the same for any field type that can have multiple values.