Adding 3 fields together and updating a fourth field with the value
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
-
I have four fields, A, B, C, D Fields A, B, and C will have numerics added to them. I want that when I have added data to all three fields then field D will automatically be updated with the SUM of the 3 fields A, B and C. Anyone know how to do this?
Put an onchange event on each textbox that calls a JS function. In the function, check if all 3 textboxes have numbers in them. If so, add them and put the result into the 4th textbox.
There are only 10 types of people in the world, those who understand binary and those who don't.