I would need to populate dropdown values from list read from database.
At read data function, I have in fields to retrieve:
CategoryDd.aid
CategoryDd.category
and select type as key/value pairs. In the views-tab, at dropdown field in options I have
{var:read_categories_dropdown}
At first I didn't get anything. Then, after selecting "This is an extra field list" at the read data -function, I did get the keys correctly, but only 0 as value. What am I doing wrong here?
Thanks in advance!
At read data function, I have in fields to retrieve:
CategoryDd.aid
CategoryDd.category
and select type as key/value pairs. In the views-tab, at dropdown field in options I have
{var:read_categories_dropdown}
At first I didn't get anything. Then, after selecting "This is an extra field list" at the read data -function, I did get the keys correctly, but only 0 as value. What am I doing wrong here?
Thanks in advance!