Structure field entry with a specific field

Hello, i have a very specific structure field problem, hopefully someone came across something similar:

I want to create relations between pages, but it needs to be more than one per page, so i decided to use a structure field with a select field that fetches certain children of a page.
In order to have a reliable field to use, i put autoid in charge (GitHub - helllicht/kirby-autoid: AutoID is a plugin for Kirby 2 wich generates unique ids (numeric or hash) for every page.) and thus can reference this hidden id while displaying the title of that children in the select field.
now, when this is all done, all i can show in the entry for the structure field is the autoid number, because that is the value that is being saved.
Unfortunately, this number doesn’t say anything, so i am searching for a way to store a second value automatically and have that one displayed.
is there a way to choose one page in a select and save two values (id-number and title) in the structure field? this way i could display the title instead of the id-number…

i am thankful for any thoughts…

matthias

Hello, please have a look at @ola’s relationship plugin.
This thread might also be worth to read up: Relationship – a sortable multiselect field

Have fun!

I think the snippetfield would be an option; it works like the structure field, but you have more options regarding what is actually shown in the Panel.

But the relationship field is actually nicer, because you don’t need a structure field, and you can display one thing and save another, just like in a standard select field.

thanks. the snippetfield worked well in the end…