Accessing a PostObject using a form

I am trying to achieve a frontend form that allows users to upload photos to my site. But photos have ‘names’ and those names are selected from a names list. Each name is, in itself, a post of a different post type. So in essence I want to select a ‘name’ post from a dropdown list of names. Is there any help available to show me how to do that?. TIA

Just for the record I solved this problem in two ways.

The first solution was to add a ‘select’ field (html-select) to my form then change the settings as per. In ‘Options’ I selected ‘Import’, ‘Data source’ to ‘Posts’, ‘Filter by Post Type’ to ‘persons’, ‘Filter by Status’ to ‘Publish’, ‘Order By’ to ‘post_title’, ‘Order’ to ‘Ascending’, ‘Label’ to ‘post_title’, ‘Value’ to ‘post_title’. And it works. I can select a ‘person’ from a form that is designed to ‘add a person’.

The second solution was quite similar to set up. I added a ‘Dropdown’ field to my form then change the settings as per: In the right side menu select ‘Lists & Options’ . You should see a new ‘list’ with a label like ‘List-1’ or similar. Make sure the list is active, ie it has a blue ball, then click on the ‘options pencil’ icon. Then select ‘Import’, then set it up already described for the ‘select field’.

All quite easy really, once you have done it a few times.

Note: part of my solution was to create a seperate ‘custom post type’ called ‘person’ and to use that WP table to hold the names of the people. Now my users are able to add photos to my site, but also to select the names of the people in the photo. In addition they can add new people to the ‘person’ table, all from the front end.