Quote:
Originally Posted by davncong
I've created a webform for a user to order from a catalog. [...] I'd like to have the user enter a quantity and price, and have the script multiply them for a total, then (if possible) add the totals for a sub total, and (if my dreams come true) multiply the subtotal by 8% (sales tax) and display the sub total, tax and grand total.
All of this is certainly possible, the question is however, which language is best for this task. Java could be used theoretically, but it's server based and as far as I know, such things are more commonly done in a client based way - normally with
JavaScript or a similar language.
Quote:
Originally Posted by davncong
I've started reading the tutorial, but she's a bit of a lengthy novel.
"The" tutorial isn't very clear - which tutorial have you been reading?
Of course, if you decide to do this with JavaScript, you should post both your question as well as the answer to mine in our
JavaScript Forum.
Greetings,
Nepomuk