The problem is this: if you enter numbers into the "Basic Bid" section, and then enter zeros into the "Advanced Bid" section, it should calculate the "basic bid charge" based on the numbers in the first section. The "Total Charge for Advanced Bid" should be zero, and then "total bid" should add basic and advanced together, which in this case would make it the same number as "basic bid charge". In theory anyways. But for some reason it's adding a zero on the end, an extra decimal place, and I can't for the life of me figure out why.
Could anyone help with this? Thank you!
form.bidtotal.value = parseFloat(form.bbtotal.value) + parseFloat(form.adbid.value);
Form fields' value property returns a string. Adding strings concatenates them. Your script is 'adding' the 0 from the advanced total to the string from the basic total.
Yay that fixed it! Thank you so much!