You might also be interested in
the_field('cta_text'); ?>
if (get_field('cta_type') == 'external') { ?>
the_field('external_link_text'); ?>
} else { ?>
} ?>
the_field('cta_text'); ?>
if (get_field('cta_type') == 'external') { ?>
the_field('external_link_text'); ?>
} else { ?>
the_field('cta_text'); ?>
if (get_field('cta_type') == 'external') { ?>
the_field('external_link_text'); ?>
} else { ?>
} ?>