I have this code to get the sum from all the @{skillspend} but the x["repeating_skills_" + idarray[i] + "_skillspend"] doesn't return the value. How do i get this value? on("change:repeating_skills", function() { var total =0; getSectionIDs("repeating_skills", function(idarray) { for(var i=0; i < idarray.length; i++) { console.info("[getSectionIDs] "+i+": "+idarray[i]); console.info("repeating_skills_" + idarray[i] + "_skillspend"); getAttrs(["repeating_skills_" + idarray[i] + "_skillspend"], function(x) { total = total +x["repeating_skills_" + idarray[i] + "_skillspend"]; }); } }); });