Nested Repeater

Nostromo 08 Apr, 2025

Hello everyone,

I am new to ChronoForms 8 and I am trying to nest a repeater within another repeater. Is this possible?

I attempted to set this up in a form, but I encountered two issues:

  • The "Add" button for the second repeater does not work.
  • The "Remove" button for the first repeater does not work.

Could you please help me resolve this issue?

Thank you in advance

Max_admin 09 Apr, 2025

Hi Nostromo

Did you set different repeater keys for the 2 repeaters ? like "n" for the first and "m" for the 2nd ?

Nested Repeater image 1

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

Hello Max,

First of all, thank you for your reply.

Yes, I did change the "keyname". Should I also rename the field names by adding [n] or [m]? The delete button in the first repeater isn’t working, and the add button in the second repeater isn’t working either.

Max_admin 09 Apr, 2025

Hi Nostromo

if you have nested repeaters then each field name will have 2 keys, something like this:

fieldname[n][m]
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Nostromo 10 Apr, 2025

Hi Max ! 

thank you for your reply.

The fields display correctly, however, the delete button of repeater m does not work, and the add button of repeater n does not work.

The names of the objects in repeater m are in the format example[m], and the names of the objects in repeater n are in the format example[m][n]. Should a number be added?

I put the repeaters in grids, but it doesn't fix the button issue.

Nostromo 22 Apr, 2025
Hello, I'm reopening this thread because I'm still stuck.
Thanks in advance.
Post a Reply