Buy Now
Sign in

Array items in email

MarkRS , May 05 at 10:10
M
MarkRS
I'm trying to put details from a multiplier into an email.
For example, one of my multipliers uses the array "devices".
On submit my debugger event shows
[devices] => Array​
​ (​
​ [0] => Array​
​ (​
​ [type] => 0​
​ [make] => Mi​
​ [model] => Fone​
​ [id] => 3​
​ [parent] => 621​
​ )​
​​
​ [id] => 3​
​ )
and the relevant part of my template in my email event has
<table>​
​<thead><tr><th width="15%">Device</th><th width="35%">Make</th><th width="35%">Model</th></tr>​
​</thead>​
​<tbody>{repeater:devices}​
​<tr>​
​<td>{type}</td>​
​<td>{model}</td>​
​<td>{make}</td>​
​</tr>​
​{/repeater}​
​</tbody>​
​</table>
which seems (to me) to be what the FAQ https://www.chronoengine.com/faqs/70-chronoforms/cfv5/5245-how-can-i-use-the-multiplier-in-cfv5 says, but nonetheless that same debugger event shows that the email is prepared as
<table>​
​<thead><tr><th width="15%">Device</th><th width="35%">Make</th><th width="35%">Model</th></tr>​
​</thead>​
​<tbody>​
​<tr>​
​<td></td>​
​<td></td>​
​<td></td>​
​</tr>​
​​
​</tbody>​
​</table>
What have I done wrong?
TIA
Mark