You need to use JavaScript and AJAX to populate the second field. This example populates a select field based on another select field. It’s probably not exactly what you are looking for but it show the basics. https://github.com/Hube2/acf-dynamic-ajax-select-example/tree/master/dynamic-select-example