Hello.
What I ended doing is convert my array into a string. So my list of quantities for example would be on the same line like 54, 32, 85.
So in my email I send the products on a line and the quantities on the other line.
Example :
chair 1, chair2, chair 3
54, 32, 85
I didn’t find a solution to send anything else than strings, even though columns and lists would have been nicer ![]()
Part of my code :
export function itemQuantity_change(event) {
let arrayInput=[];
$w("#repeaterUserSelection").forEachItem( ($item, itemData, index) => {
let repeatedElement = $item("#itemQuantity").value;
// I create an array when the user change or add an input
arrayInput.push(repeatedElement)
});
var quantities = arrayInput.map(function (item) {
return item});
// I convert my array into a string to be used as a simple variable in the mail
let quantitiesList = quantities.toString();
}
I hope it will help. Good luck ! ![]()