I try to build form follow "How to build a dynamic dropdown in Chronoforms 8" FAQs

How to fix a dynamic dropdown not working in ChronoForms 8.

Overview

The issue occurred because the PHP code used "return" instead of "echo" to output data.
Ensure your PHP code uses "echo" to send the response. If the problem persists, try reinstalling the CF component.

Answered
ChronoForms v8
ki kittisak 09 Jan, 2025

I try to build form follow "How to build a dynamic dropdown in Chronoforms 8" FAQs but it's not work. Nothing happen to the target reload dropdown.

Max_admin Max_admin 09 Jan, 2025

did you setup the triggers and listener correctly ? did you set a different page group for the ajax page ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ki kittisak 09 Jan, 2025

I had tried "echo" already but it not work so I change to "return". 🙁

Max_admin Max_admin 09 Jan, 2025

when I restore your form and change "return" to echo and save the form works fine, I just need to change the country to get a different list of cities loaded

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ki kittisak 10 Jan, 2025

It's work now!, but I have to reinstall Chrononform again.Thank you. 

ki kittisak 10 Jan, 2025

I have some questions.  What are use cases of AJAX Call and Reload Action in Advance Listener?

Max_admin Max_admin 10 Jan, 2025

Hi kittisak

Please start a new topic for this with more details in order to keep the questions better organized

Thank you!

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.