I'm using a custom publish form for working with a database (performance reasons).
It is pretty well documented so it went quite smoothly. One thing that is missing in the documentation is populating selectable fieldtypes with values from database. It might be taxonomy, collection, select. Anything will do.
So the question is - how do you populate e.g. a select fieldtype from database?
Thank you for any advice.