Hey everyone, I hope you're all having a good morning. I'm facing an issue with 4 text boxes that should be summed up and the total displayed in 1 text box. However, instead of getting the correct total value, I seem to be getting something else which is not right. I suspect it might be due to parsing errors. Any assistance on this matter would be highly appreciated. Below you can find my code along with a screenshot showing the incorrect total result: Check out this picture for reference
Thank you in advance,
<script type="text/javascript">
function myFunction()
{
var v1 = form1.txtCu2Row.value;
var v2 = form1.txtCu3Row.value;
var v3 = v1 + v2
var v4 = form1.txtCu4Row.value;
var v5 = form1.txtCu5Row.value;
var v6 = v4 + v5
form1.txtTotalCuAB.value = parseInt(v3) + parseInt(v5);
}