Removal of all initial repeat clones reappear

CraigH 1d ago

There is a problem in Chronoforms ver 8.0.51 relating to removal of all repeat clones when there were some initialsed in the form.

How to reproduce:

  1. Form has a repeater area with "start count" = 0
  2. Form has some php that populates some clones (this would normally be from a DB read)
  3. Form starts with the initial clones displayed.
  4. You remove them all and do not add any more
  5. Submit the form and look at the debug data on the next page

Env

  • CF: 8.0.51
  • Joomla: 5.4.1

Result:

The next page debug shows the initial repeat data for the clones that were deleted. Thus any PHP processing would also use this deleted data.

If you keep at least one clone then the data correctly reflects the clones submitted.

At the moment I don't know how to work around this issue and its stopped migration of my last form from CF7

Simple form to demonstrate the issue attached

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