Hi, I have a problem with the repeating sum function as can be seen here:  <a href="https://wiki.roll20.net/RepeatingSum" rel="nofollow">https://wiki.roll20.net/RepeatingSum</a>      I am using it in my character sheet five times. An all five work like a charm. For the sixth, I've copypasted the code from one of the earlier uses in the same character sheet, adjusted the attribute names and...it ain't working. And I don't know why.   To give you a little background: I am trying to include the Pathfinder Kingdom Building Rules in my character sheet.  Here's the beginning of the fieldset  <fieldset class="repeating_cityBuildings">
    <div class="sheet-margin-bottom sheet-padr sheet-padl">
        <div class="sheet-row">
            <div class="sheet-col-1-23 sheet-vert-middle sheet-left">
                <input type="checkbox" name="attr_PropertyUsed" value="1" title="Property used" />
            </div>
            <div class="sheet-col-1-14 sheet-vert-middle sheet-left">
                <input class="inSmallNum_noBorder" type="number" name="attr_cityBuildingAmount" value="0" step="1" min="0" title="cityBuildingAmount">
            </div>
            <div class="sheet-col-1-3 sheet-vert-middle">
                <input type="text" class="sheet-inMainTxt" name="attr_cityBuildingName" placeholder="City Building">
            </div>
            <div class="sheet-cityBuildingProperties">
                <div class="sheet-col-1-14 sheet-vert-middle sheet-center">
                    <input class="inSmallNum_noBorder" type="number" name="attr_cityBuildingEconomy" value="0" step="1" min="-10" max="10" title="cityBuildingEconomy">
                </div>
                <div class="sheet-col-1-14 sheet-vert-middle sheet-center">
                    <input class="inSmallNum_noBorder" type="number" name="attr_cityBuildingStability" value="0" step="1" min="-10" max="10" title="cityBuildingStability">
                </div>
                <div class="sheet-col-1-14 sheet-vert-middle sheet-center">
                    <input class="inSmallNum_noBorder" type="number" name="attr_cityBuildingLoyality" value="0" step="1" min="-10" max="10" title="cityBuildingLoyality">
                </div>
                <div class="sheet-col-1-14 sheet-vert-middle sheet-center">
                    <input class="inSmallNum_noBorder" type="number" name="attr_cityBuildingUpkeep" value="0" step="1" min="-10" max="10" title="cityBuildingUpkeep">
                </div>
                <div class="sheet-col-1-14 sheet-vert-middle sheet-center">
                    <input class="inSmallNum_noBorder" type="number" name="attr_cityBuildingUnrest" value="0" step="1" min="-10" max="10" title="cityBuildingUnrest">
                </div>
                <div class="sheet-col-1-14 sheet-vert-middle sheet-center">
                    <input class="inSmallNum_noBorder" type="number" name="attr_cityBuildingLore" value="0" step="1" min="-10" max="10" title="cityBuildingLore">
                </div>
                <div class="sheet-col-1-14 sheet-vert-middle sheet-center">
                    <input class="inSmallNum_noBorder" type="number" name="attr_cityBuildingLaw" value="3" step="1" min="-10" max="10" title="cityBuildingLaw">
                </div>   There are more fields and of course I close the div and the fieldset (adding values in the character sheet works just fine) but that is just to show how it's setup.  Then there's the code summary field:  <div class="sheet-col-2-10 sheet-savingthrow-num sheet-vert-middle">  <input type="text" name="attr_cityTotalLaw" class="sheet-savingthrow-num" title="Law" value="(5 + (@{cityLaw}))" disabled="disabled" /> </div>  and btw. when I use value in the above mode, I get (5 + ()) in the attribute field. If I change it to ( (@{cityLaw})+5) I get 5 instead.   And finally the JS code at the bottom of the file.   	 on('change:repeating_cityBuildings remove:repeating_cityBuildings', function() {  		 repeatingSum("cityEconomy","cityBuildings","cityBuildingEconomy","cityBuildingAmount");  		 repeatingSum("cityStability","cityBuildings","cityBuildingStability","cityBuildingAmount");  		 repeatingSum("cityLoyality","cityBuildings","cityBuildingLoyality","cityBuildingAmount");  		 repeatingSum("cityUpkeep","cityBuildings","cityBuildingUpkeep","cityBuildingAmount");  		 repeatingSum("cityUnrest","cityBuildings","cityBuildingUnrest","cityBuildingAmount");  		 repeatingSum("cityLore","cityBuildings","cityBuildingLore","cityBuildingAmount");  		 repeatingSum("cityLaw","cityBuildings","cityBuildingLaw","cityBuildingAmount");  		 repeatingSum("citySociety","cityBuildings","cityBuildingSociety","cityBuildingAmount");  		 repeatingSum("cityProductivity","cityBuildings","cityBuildingProductivity","cityBuildingAmount");  		 repeatingSum("cityDanger","cityBuildings","cityBuildingDanger","cityBuildingAmount");  		 repeatingSum("cityCrime","cityBuildings","cityBuildingCrime","cityBuildingAmount");  		 repeatingSum("cityCorruption","cityBuildings","cityBuildingCorruption","cityBuildingAmount");  		 repeatingSum("cityDefense","cityBuildings","cityBuildingDefense","cityBuildingAmount");  		 repeatingSum("citySpace","cityBuildings","cityBuildingSpace","cityBuildingAmount");  	 });  (I didn't copy the other JS for RepeatingSum in here as it is a 1:1 copy and as I said, works the five other times in that character sheet.) And yes, I have created fieldset entries with values different from 0. It looks OK to me but my character sheet tells me otherwise. Yet, I can't find the problem.