PDA

View Full Version : Order form


trevorwilson
03-13-2006, 02:31 PM
I am trying to make an order form for my website using Dreamweaver MX. I've made forms before and have FormMail script on my server. I have a reasonably good knowledge of website construction but not any form of coding!

I want a form that can calculate the total cost depending upon options selected by the user. The information required would be:

reference
quantity
size / cost
grand total

with enough lines for about 10 - 15 products.

How would I go about performing these calculations?

Thanks for your help!

ronaldb66
03-13-2006, 02:57 PM
Depends on what you want to do with the results; if it's just displaying them, a bit of JavaScript will probably be able to do the job. If you want to use the results for further action, or store them centrally, etc. a server side solution is probably in order.

trevorwilson
03-13-2006, 03:10 PM
Thanks Ronaldb66,

I really just need to calculate the total on the form so that the client knows how much to pay me! Then the order details (reference number, size, quantity) will get emailed to me.

If Javascript will cover this type of thing, any idea where I could start looking for sample code / tutorials? I have absolutely NO experience of this whatsoever!

mark87
03-13-2006, 03:26 PM
It'd be pretty simple, but if you ask in the Javascript section one of the Javascript guru's will probably code you up something better than I could do!

ronaldb66
03-13-2006, 03:42 PM
Please do not cross-post; I'll request one of the moderators to move the thread to the appropriate forum.