Forums

CF8 - DB Read + Loop + Dropdown / Radios / Checkboxes

rbock 17 Nov, 2024

I read data from a table and use a loop. This can be 1 to X data records. The data fields for text are loaded within the loop and displayed in text fields. But how do I proceed with dropdowns, radios or checkboxes?

Max_admin 17 Nov, 2024

you mean how to set the selected values or how to add them to the loop ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 17 Nov, 2024

set the selected values

Max_admin 17 Nov, 2024

But there is a Selected Values behavior for these fields where you can use any shortcode, it does not work ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 17 Nov, 2024
1 Likes

No, this only works for text fields!

Max_admin 23 Nov, 2024
Answer

Ok, fixed this for the next update!

Thank you for reporting!

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 23 Nov, 2024

But I have already solved this for myself. In the loop I export the value from var:loop.value.FELD to data:FELD

Max_admin 24 Nov, 2024

the fix should make it work without having to export any values to the data array

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.