I'm trying to make a form in which you can add a drop-down's to choose something:

The goal is to add as much of them as you need. This works, but I can't get it to email all the line's, just the last one.
I'm sure it's something with array's or loop's, but I don't get it...
Who can help me?

The goal is to add as much of them as you need. This works, but I can't get it to email all the line's, just the last one.
I'm sure it's something with array's or loop's, but I don't get it...
Who can help me?
Hi Robbert,
If you use a Repeater area make sure that the input names end in [] to make them array names.
Bob
If you use a Repeater area make sure that the input names end in [] to make them array names.
Bob
If there are multiple inputs per group, I like using group[index][field] notation. Like
order[{var:area_repeater#.key}][qty]
order[{var:area_repeater#.key}][item]
Using field1[ ] and field2[ ] as the names
Using group[{var:area_repeater#.key}][field]
[field1] => Array
(
[0] => a
[1] => b
[2] => c
[3] => d
)
[field2] => Array
(
[0] => a
[1] => b
[2] => c
[3] => d
)
Using group[{var:area_repeater#.key}][field]
[group] => Array
(
[0] => Array
(
[field1] => a
[field2] => a
)
[1] => Array
(
[field1] => b
[field2] => b
)
[2] => Array
(
[field1] => c
[field2] => c
)
[3] => Array
(
[field1] => d
[field2] => d
)
)
This topic is locked and no more replies can be posted.