View Single Post
Old 06-24-2002, 03:58 PM   PM User | #3
askomski
New to the CF scene

 
Join Date: Jun 2002
Location: Livonia, MI
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
askomski is an unknown quantity at this point
Quackhead,

Thanks for the reply. I apologize, but I may not have made it clear in my example that the user will be entering the values into the form, so the 47 and 53 would be entered into the form. So I really don't have a place to put the quotes since the numbers are not hard coded in. So maybe my example should have been:

a = document.form.CapBudget.value
b = document.form.ExpBudget.value
total = a + b;

return total;

With the return giving a field called TotBudget the result. As I stated, the strings are being combined, but the addition is not happening. This is being done on an Intranet site and the browsers being used are Netscape 4. I may be unclear how the script determines whether the user entry is text or a number.
askomski is offline   Reply With Quote