OK, I've got a simple form to capture email addresses in a repeater area, based on my understanding of what's in the manual, plus GrayHead's comment from another post advising
But while the array (below) shows the data as expected, and it saves three rows, as expected, each row has the same email address. I really need a clue on why. I've tinkered with just about every parameter but still get the same results.
To save multiple values from the same element they have to have array names ending - otherwise you only get the last value saved. With a multifield in the repeater I'd suggest that you use names like group_name[{var:area_repeater40.key}][fieldtext_47] that will group all of the multiplier elements together.
But while the array (below) shows the data as expected, and it saves three rows, as expected, each row has the same email address. I really need a clue on why. I've tinkered with just about every parameter but still get the same results.
Array
(
[save_data8] => Array
(
[data] => Array
(
[option] => com_chronoforms6
[cont] => manager
[chronoform] => repeater
[event] => submit
[Model] => Array
(
[0] => Array
(
[email] => a@b.com
)
[1] => Array
(
[email] => b@c.com
)
[2] => Array
(
[email] => c@d.com
)
)
[button7] =>
[_ga] => GA1.2.391851210.1487187062
[__atuvc] => 1|47,0|48,0|49,2|50
[d3afdd8bd0d018da056b0d2c45021e09] => Sq1wnL2HtolDiufGm,Iad2
[ec3e5ab2c77c5e545fc9f1f89eee2121] => HvTzTX57lbmCsZz72n9vi1
[created] => 2018-01-24 18:14:08
[user_id] => 204
[] => Array
(
[option] => com_chronoforms6
[cont] => manager
[chronoform] => repeater
[event] => submit
[Model] => Array
(
[0] => Array
(
[email] => a@b.com
)
[1] => Array
(
[email] => b@c.com
)
[2] => Array
(
[email] => c@d.com
)
)
[button7] =>
[_ga] => GA1.2.391851210.1487187062
[__atuvc] => 1|47,0|48,0|49,2|50
[d3afdd8bd0d018da056b0d2c45021e09] => Sq1wnL2HtolDiufGm,Iad2
[ec3e5ab2c77c5e545fc9f1f89eee2121] => HvTzTX57lbmCsZz72n9vi1
)
[email] => a@b.com
[name] =>
)
[_success] => Data saved successfully
[log] => Array
(
)
[var] => Array
(
[created] => 2018-01-24 18:14:08
[user_id] => 204
[email] => a@b.com
[aid] => 82
)
)
)
This topic is locked and no more replies can be posted.