I have a repeating section for my equipment list and I want to show a running total of the weight. How can I do this? This is the total weight display code and I have it set at value="0" for now. <div class="sheet-col-1-4 sheet-center"><input type="number" name="attr_inventory_weight" value="0"></div> This is one of the fieldset codes for the tabs (I have another one) that I want to pull from. The "attr_itemwornenc" is the weight input. <fieldset class="repeating_inventtab1">
<div class="sheet-row">
<div class="sheet-col-1-4 sheet-small-label sheet-left"><input type="text" name="attr_itemname"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemquantity"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemuses"></div>
<div class="sheet-col-1-12 sheet-padl sheet-center"><input type="number" name="attr_itemwornenc"></div>
<div class="sheet-col-1-2 sheet-padl sheet-small-label sheet-left"><input type="text" name="attr_itemdesc"></div>
</div>
</fieldset>
The other repeating fieldset (repeating_inventtab2) is identical except that the input name that I wish to pull from is "attr_itemcarriedenc". My goal is to have a default start value "0" but as players add equipment or gear to their character's sheet, it tracks the weight total. I have not figured out how to do that. Any suggestions or ideas?