• We just upgraded the platform on which this website runs! Please inform @Jaxel of any issues.

How Can You Add Score Fields?


New member
I was wondering if there is a way to add score fields. Basically what I am trying to do is take these and add them together.


Once added to then equal

Any help would be amazing!


New member
Figured this out if anyone else needs it.

var vp1 = parseInt(docData2['Primary_1s']) + parseInt(docData2['Player_Secondary_1s']) + parseInt(docData2['Player_Secondary_2s']) + parseInt(docData2['Player_Secondary_3s']);
docData['Player_VP_1s'] = vp1;


Ah yes. Welcome to JavaScript. All variables are received as strings, unless specifically told to be calculated as an integer.