Hi AC,
JavaScript is not scoped to forms, but to a Browser instance. Therefore, you
can use JavaScript to make calculations regarding any HTML element in the
page, regardless of whether it resides in a form or not.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
AC said:
So... is there a way that I can do a calculation without a nested form so
that it calculates the third field (based on the first two) and 1) shows it
on the screen before it is submitted, and 2) submits the result into the
database with the rest of the information? I realize that I could probably
have the calculation occur on the same page, but outside of the main form,
but I want something slicker than that. I don't want someone to have to
jump back and forth within the same page.