View Single Post
Old 08-14-2009, 03:11 PM   PM User | #1
Saundatron
New to the CF scene

 
Join Date: Aug 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Saundatron is an unknown quantity at this point
Javascript Order Forms

I have a programming assignment due for Monday and If I dont pass it I'm probably out of college. Ihave tried and tried to do it myself but I just cant figure it out. I need some help. Heres what I have to be able to do:

You have been asked to design a program using a html form for user input
and the same form will also display the output within the browser window.
To refresh your memory of html forms I have provided the code for the
necessary form, feel free to add some presentation features of your own the
form provided.
The program looks for the users to input a customer’s name and phone
number, the next section within the form looks for the users to select certain
items to be dry cleaned, the user can choose to input up to four items, the
first two items are shirts and pants, these have a fixed cost, for cleaning shirts
the cost is €1.50 per shirt and pants are €2.50 per pants, the user can enter
the quantity to be cleaned for each item, then they must click the calc button
to display sub-total for each item in the text area provided (sub-total is the
number of items * by the cost of the item to be cleaned). The user may
choice from a drop down list as to the two remaining items to be dry cleaned,
they need to enter a Unit Price and the Quantity (Qty) again they must click
the calc button to work out the cost of cleaning each item. Once the users
has completed placing the orders, (again the user may choose to select 1 to
4 items) the user must then click the calculate Order button, this display the
total cost of order, the tax for the total order and finally the total cost + tax.
Saundatron is offline