> <cfoutput><input type="text" readonly="yes"
value="#dollarformat(monthlypayment)#"></cfoutput>
You cannot do that. CF code is executed on the server
(first). The resulting javascript (html, css, ...) code is then
sent to the browser where it is executed. Since javascript code is
executed in the client browser,
after the CF code is already finished, the variable
"monthlypayment" doesn't exist as far as CF is concerned.
You can use javascript to both read the donation text field
amount and calculate the "monthlypayment" amount to display. Here
is a simple example. You'll need to add validation and number
formatting.