If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

What I need it to do, when the form is submitted, is stick the results into the right boxes...

I also want to add a feature that can check if they entered a Loan-Amount or a Monthly Payment (if both, then pretend they just put a loan amount) and calculate it backwards if needed...

And I want to add a feature that can check if they entered the percentage or dollar-amount of the down-payment, then display the other one in right box (display dollar-amount if they supplied a percentage, and vice-versa) and if both it should default to percentage...

IN FACT, if it can automatically empty or disable the "other one" when they fill in one of the two options, that'd be even more awesome. (like an "onfocus" sort of thing?)

and everything like it will never work because (from what I can see) you have no element with an ID "price". You have an element with a NAME "price" but they are two different things.

javascript will be the death of you if you don't pay attention to details, and if you refuse to debug your own code.

Have a look at my post, the way the button onclick passes the form object to the getPayments function, making it easier for that function to reference the input values

Originally Posted by amandaNHT

I also want to add a feature that can check if they entered a Loan-Amount or a Monthly Payment (if both, then pretend they just put a loan amount) and calculate it backwards if needed...

And I want to add a feature that can check if they entered the percentage or dollar-amount of the down-payment, then display the other one in right box (display dollar-amount if they supplied a percentage, and vice-versa) and if both it should default to percentage...

why not use a select box, or radio buttons for both of these things, making the coding simpler and letting the user know what's going on ?

Originally Posted by amandaNHT

IN FACT, if it can automatically empty or disable the "other one" when they fill in one of the two options, that'd be even more awesome. (like an "onfocus" sort of thing?)

simple enough. Why don't you get your design (and html) sorted out - that makes the javascript much easier.