Forums

2 dropdown in the repeater have a problem

Fredolino 18 Sep, 2020
Hello,

I have 2 dropdown in the repeater:

1.
name: group [{var: area_repeater2.key}] [id_gr]
ID: family_id_ {var: area_repeater2.key}
Events: Change / Reload / Elements: #art_id_ {var: area_repeater2.key}

2.
name: group [{var: area_repeater2.key}] [art_id]
ID: art_id_ {var: area_repeater2.key}
Advanced / Reload event: dynamic

Under Actions in "dynamic":
1. PHP: return array_values ($ this-> data ("group. [n] .id_gr")) [0];
2. Read data for DB-table
3. Custom code: {view: field_selectXX}

If I select an option value in the 1st dropdown, then the list view in the 2nd dropdown works.
If I then select another option-Value in the 1st dropdown, it no longer works. The 2nd dropdown is not updated.
What do I have to do to solve the problem?

F.
ozkrsanchez 10 Nov, 2020
Hi Fredolino, could you solve something?

I really consider that Max is somewhat busy with CF7 and there is no more support for CF6.

Could you help me, I have something similar to yours and maybe you can help me.
Fredolino 11 Nov, 2020
Hi,
it was a bit complicated and only works with additional php code...

F.
You need to login to be able to post a reply.