I have a javascript function that calculates an integer sum of some variables. It's basically
fscalculate() = number1 + number2 + number3 = totalScore
where fscalculate() adds three numbers and sets the result as the variable totalScore.
I have created a form that asks the user for his name and email, I have used a php script to send the name and email to an email address using the POST method.
What I would like is to create a field that is automatically populated with the integer totalScore. If this is possible then I should be able to add a line to my php script to send this with the user name and email address,
Any help would be most appreciated!