Web Form calculated running total

help please?

hi there
i have tried to get the above working, but really struggling. i know this is a lot to ask, but is anyone perhaps willing to give me a bit of help with this calculating form please?
I would really appreciate it, :-) Please

Thank you so much
 
@ MelissaFleet. Are you working in HTML or PHP ?

If you are are coding in PHP it can be quite uncomplicated to take the user input data from your form to another page and do validation, calculation and display the results.

This method works quite well as you can then allow quotes/calculations to be displayed without the use of Java.
I have used this method on some of the websites that I have done and it works well for site visitors who have Java disabled in their browsers.

Using the method outlined above I have managed to even integrate PDF creation of the results for the user to download/print.

The flow on my website is as follows :-

1. Quote page : Get user input [used a bit of Java to display summary total] and store user selections to variables.
2. Results page : Retrieve variables and validate and generate actual quotation and store calculations to variables.
3. PDF quotation : Retrieve variables and pass to PDF creation. - I used a excellent free library called FPDF which can be found at http://www.fpdf.org/
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X