by mcrider » Mon Feb 09, 2009 1:47 pm
Hi Sam,
That looks like a job for javascript, and will take some leg work to get going. I would modify the header template to selectively include a javascript file depending on what page you are on (i.e. review form pages), or if you're lazy, just add a function to the js/general.js file. The JS function could then listen for keystroke/click events in the form elements, add up the values, and stick the sum in the total field (which would be an actual form element submitted to the editor). If you're familiar at all with jQuery, which if you are would allow you to do this much more easily, there is a top secret jQuery plugin for the next release of OJS that I could send your way (no warranty included).
Cheers,
Matt
Matthew Crider
Public Knowledge Project Team