Populating dropdown with dynamic data from database

kraadde 15d ago

I might be ignorant of the deep secrets of CF8, but I am not able to find the solution for that:

I have a table field with dynamic values like:

    [einsteige_ort] => ["Gebenstorf","Trafo","Schademuehle","Eurobus","Lauffohr","Bahnhof","0"]

that I want to use to populate a dropdown. All i am getting is an empty dropdown.

I tried  {data:einsteige_ort} as dynamic options data source and row:value and row:text, but no success.

Help me please as is is the last issue I have with this complex for.

Max_admin 14d ago
Answer

Hi kraadde

please download the latest version again and install it OVER yours

then you can use this setup:

Populating dropdown with dynamic data from database image 1

{row:key} will be the value key and {row:value} will be the string itself, you may use {row:value} in both fields of course

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger