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.
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.