Form Addition

liunx

Guest
Hi

If I create a page with say 20 items and all the items have a different value, how can i create a form that will allow the user to select as few or as many items as they wish and then add the total value of what they have selected and display this to them?

Thanks Neilyour best bet is javascript. unless you wanted to reload the page again to show the usr the final value.Thanks for that, but I guess I am not explaining myself correctly, what I am after is like you would find on say a quote system, where the user is presented with several categories and in each of these are several options, all of the options have a separate value and these need to be added together when the user hits the submit button, if they could be displayed on another page that would be great.

Hope this explains what I am looking for a little better

Thanks

NeilYour first explanation was fine. But, as the guys before mentioned, you cannot achieve what you wish to without employing either javascript or a server-side technology.

I think this thread should be moved to the javascript forums where someone will almost certainly be able to help you with your quest.
 
Back
Top