In form calculator?
Ahoy all! So I will start by saying I am brand new to javascript and am learning things the hard way! 🙂
I am trying to figure out a way that I can have two text fields, Field1 & Field2, and have it so that when a number is entered into Field2 it will automatically add it to Field1 then clear itself out.
Example: Field1 has a value of 10, when I enter 10 into Field2 then Field1 become 20 and Field2 becomes blank. I am figuring the javascript will have to be attached to a button but my co-pilot, google, is letting me down on this one. Any ideas? Thank you!
