Retrieve Unique List For Each Row of Data

Retrieve Unique List For Each Row of Data

rw152rw152 Posts: 56Questions: 15Answers: 1

I'm trying to figure out how to best populate a select-box for editor. The issue isn't so much populating the select-box options, but rather correctly retrieving data from the server (I'm using Editor with php serverside).

Field->options does not work for me, because it returns a list of ALL the possibilities. The select box needs to contain custom options for each row of data. Anyone have any thoughts/ideas on how to best do this?

I've thought about using Field->options anyway, and looping through and filtering the results in the editor instance on open, but it seems like a less ideal solution (... but perhaps its more ideal, because then the same data won't be repeated multiple times...).

I'd rather not create a custom field in my database if I don't have to. Thanks for your ideas!

This discussion has been closed.