[PHP] Real-Time Form Updating

2005-11-18 Thread Chase
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. The page is done and working using a FORM POST to a second page taht works on the variables and generates the totals. That being siad, I have a field for total

RE: [PHP] Real-Time Form Updating

2005-11-18 Thread Jay Blanchard
[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

Re: [PHP] Real-Time Form Updating

2005-11-18 Thread Brent Baisley
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.

Re: [PHP] Real-Time Form Updating

2005-11-18 Thread David Grant
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. The