We add a field (field type: page link, filter by post type: page, Select multiple values: yes),now we want to display like this,how to coding
<a href="a.com/page1">this is page 1</a>
<a href="a.com/page2">this is page 2</a>
This is explained in the documentation https://www.advancedcustomfields.com/resources/link/. Let me know if there’s something you don’t understand from there.
field type is page link, not link
The page link field does not have a text component, you would usually use another field to allow entry of the link text. https://www.advancedcustomfields.com/resources/page-link/