EasyCatalog can automatically rename form field items during pagination using a configuration specified using InDesign’s Script Label panel.
- Show the “Script Label” panel from the “Window > Utilities” menu
- Select the button form field in the document
- Paste the following into the “Script Label” panel
<name field="Stock Code"/>
- Deselect the form field in the document (deselecting ‘writes’ the script label to the form field)
This Script Label essentially tells EasyCatalog which field to look in to retrieve the name. In this case, you want the form field to be named using the “Stock Code” field.