
Hello,
I am a complete beginner at HTML and CSS, but been trying my hand at making a character sheet for a game that lacked one. Been going well, but ran into some issues with auto-calculating field. Been trying to consult the wiki and searched here but couldn't find the issue.
I have in total seven of these named incomeamount1 to 7
<input class="incomeamount" type="number" name="attr_incomeamount1" value="0"/>
They are supposed to be calculated in this thing
<input class="totaleconomy" type="number" name="totalincome2" value="(@{incomeamount1}+@{incomeamount2}+@{incomeamount3} + @{incomeamount4}+@{incomeamount5}+@{incomeamount6}+@{incomeamount7})" disabled="true"/>
I've been staring at this thing for what feels like forever, but can't figure out the issue.
It looks like this in the game
Any idea on how to solve it? I've read that sheet workers are a better way of doing it, but I know absolutely nothing in terms of javascript.