I might have the wrong end of the stick, but would it not be easier to
calculate these variables in the form handling script?
Cheers,
David Grant
Chase wrote:
> I am trying to build an order form for our clients to use to order hardware
> and software, or atleast get a price quote for such. Th
Absolutely, but you wouldn't really be using PHP to do. Javascript
would be required to handle the real time display update. Javascript
could also to the calculations. If you want to query the server for
prices and have PHP do the calculations and spit back totals, you'll
need to use AJAX.
[snip]
That being siad, I have a field for total number of users that I would like
to calculate the total of about five variables in real-time, before the
submit button is activated. Is this possible?
[/snip]
Yes.
Google for JavaScript
--
PHP General Mailing List (http://www.php.net/)
To u
3 matches
Mail list logo