<INPUT type=text readonly='readonly' name='[b]AmountBILLED[/b]' value='[b]$AmountBILLED[/b]'> [i]NOTE: The value of field '[b]AmountBILLED[/b]' is harvested from a database [/i] <INPUT type=text name='[b]AmountPAID[/b]' > [i] The value of field '[b]AmountPAID[/b]' is entered by the end user [/i] [i] On Focus or Click of a (CALCULATE button) do the math - subtract the value entered in '[b]AmountPAID[/b]' from the value of '[b]AmountBILLED[/b]' and insert that value into the '[b]AmountDUE[/b]' field automatically, and UPDATE the db [/i] <INPUT type=text readonly='readonly' name='[b]AmountDUE[/b]' value='[b]$AmountDUE[/b]'> [i] Another option to updating the value of [b]AmountDUE[/b] is to merely do so as a variable that is not in an <INPUT field. [/i] [i] Thank the Expert who made my life a little easier [/i]
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
An Experts Exchange subscription includes unlimited access to online courses.Get Started
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE