Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function sum_boxes(callfrom)
{
var e = document.formname.length;
var tot=0;
var i;
for (i=0; i < e; i++)
{
// scan all form elements to find what we need
var n=document.formname.elements[i].name;
var v=document.formname.elements[i].value;
if (n.substr(0,7) == "textbox" && v.length != 0)
{
if (0 < v)
{
tot += parseFloat(v)
}
}
}
document.formname.textbox5.value=tot
}
if (n.substr(0,7) == "textbox" && v.length != 0)
if (n.substr(0,5) == "value" && v.length != 0)
tot += parseFloat(v);
tot += parseInt(v,10);