I'm struggling to find a working method for populating the key & value pairs of a select field (created with forms api) with data from a view.
e.g.. I have a view of 'location' content types.
In the form I've created I need a drop down showing all these location names and a reference from their content type as the key.
Can anyone suggest the easiest method?