Hello there, I started coding my own sheet 3 days ago and I'm stuck (I'm not a developper, still try to understand this). I want to calculate the total weight of equipments, but I don't success to print it on my sheet, when I change something it just do nothing. I add a console.log but there is nothing heppened when I change value on my sheet in the firefox console, may I miss something ? The code : < div class = "grid-sac" > Sac < fieldset class = "repeating_equipements" > < div > < input type = "text" class = "sheet-objet-nom" spellcheck = "false" name = "attr_equipement" placeholder = "Objet" /> < input type = "number" class = "sheet-number-long" spellcheck = "false" name = "attr_equipement_nombre" placeholder = "Nb" /> < input type = "number" class = "sheet-number-long" spellcheck = "false" name = "attr_equipement_poids" placeholder = "Kg" /> </ div > </ fieldset > Poids total < input type = "number" class = "sheet-objet-long" spellcheck = "false" name = "attr_poids_total" placeholder = "Poids total" /> </ div > < script type = "text/worker" > const repeatingSum = (destinations, section, fields) => { if (!Array.isArray(destinations)) destinations = [destinations.replace(/\s/g, '').split(',')]; if (!Array.isArray(fields)) fields = [fields.replace(/\s/g, '').split(',')]; getSectionIDs(`repeating_${section}`, idArray => { const attrArray = idArray.reduce((m, id) => [...m, ...(fields.map(field => `repeating_${section}_${id}_${field}`))], []); getAttrs([...attrArray], v => { const getValue = (section, id, field) => v[`repeating_${section}_${id}_${field}`] === 'on' ? 1 : parseFloat(v[`repeating_${section}_${id}_${field}`]) || 0; const commonMultipliers = (fields.length <= destinations.length) ? [] : fields.splice(destinations.length, fields.length - destinations.length); const output = {}; destinations.forEach((destination, index) => { output[destination] = idArray.reduce((total, id) => total + getValue(section, id, fields[index]) * commonMultipliers.reduce((subtotal, mult) => subtotal * getValue(section, id, mult), 1), 0); }); console.log(output); setAttrs(output); }); }); }; on('change:repeating_equipements remove:repeating_equipements', function() { repeatingSum("poids_total","equipements",["equipement_poids","equipement_nombre"]); }); </ script > CSS .grid-equipement { display : grid ; grid-auto-columns : minmax ( 10% , auto ); grid-auto-rows : minmax ( 10% , auto ); gap : 2% ; padding-block: 1% ; } .grid-sac { display : grid ; border : 1px solid rgba ( 26 , 27 , 28 , 0.1 ); grid-column : 1 / 4 ; grid-row : 2 ; } My full code (still working on it) : <a href="https://github.com/Mihawk59/AventuresV2.git" rel="nofollow">https://github.com/Mihawk59/AventuresV2.git</a> <a href="https://github.com/Mihawk59/AventuresV2.git" rel="nofollow">https://github.com/Mihawk59/AventuresV2.git</a> Thank you ! *sorry for mistakes, english isn't my mother tongue*