event_loop inside save_data

How to fix only the first record updating in a CF event loop.

Overview

The issue occurs when a redirect in the save_data success event prematurely stops the loop.
Remove or adjust the redirect action within the save_data event to allow the loop to process all records completely.

Answered
ChronoForms v6
pe peppelaria 31 May, 2018
Hy Bob. I'm having a problem with event loop inside save data

This is my array:

[customersArray] => Array
(
[returned] => Array
(
[0] => 2284
[1] => 2422
)

[var] => Array
(
[0] => 2284
[1] => 2422
)

)

and this is the "where" condition: id:{var:loop_event64.row} of the save_data inside the event_loop

The problem is that only the first record is updated.

Any suggestion?
pe peppelaria 31 May, 2018
Answer
foud the solution.... is to have some coffee

it was a redirect in the save_data success event😛
This topic is locked and no more replies can be posted.