Dropdown menu auto update when selection in another dropdown in v7

How to make a dropdown menu auto-update based on another dropdown selection in ChronoForms v7.

Overview

The issue occurs because the second dropdown does not refresh to show related data when a selection is made in the first dropdown, due to missing dynamic data binding.
Use the Connected Dropdown demo form available on the new form creation page in CF v7 to implement the correct event handling and data conditions.

Answered
ChronoForms v7
lu luken 22 Oct, 2020
Hey there,

I have two dropdown menus. I'm trying on the following:

When I do a selection in the first dropdown, the second dropdown should just show the related data (that fits the selection from the first dropdown).
(The relationship between the data is given by special coloums, so that's okay when I set the conditions right. It works when the condition compares the table field with a fixed value but it doesn't work when the table field is compared with {data:field1}, where "field1" is the field name of the first dropdown.

I think that's because the change / the selection in the first dropdown isn't updaded (event? reload?) when the data for the second dropdown is been read.

Could you help me please? I use chronoforms v7.
Max_admin Max_admin 23 Oct, 2020
Answer
1 Likes
Did you check the Connected Dropdown demo form ? you find it on the new form creation page!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lu luken 23 Oct, 2020
1 Likes
Hex Max,
thank you for answering.

I've overlooked the demos. Great, now it works.
This topic is locked and no more replies can be posted.