|
Hi, PLease could someone help me, i have this college assignment to do on javascript an i am unsure on how to do it. Please Help. Any help would be greatly appreciated.
Here it is:-
Design a simplified shopping basket system for on-line purchases,
Part 1
is an order form in which the customer completes a table with each line having the following fields:
Quantity
Order code
Description
Price
The user inputs the quantity; and selects the product ID from a list. The system then completes each line with the product description and the corresponding price. The total price is then given at the bottom of the table.
User inputs must be validated.
The user then confirms the details by proceeding to the checkout.
Part 2
is the checkout form where the user enters his/her details. Typical this will include name, address, age, telephone no., email address, shipping address (where different) and credit card details. The credit card details consist of the card number (first 4 digits must be validated) and a correctly formatted expiry date.
The total price from the order form should be transferred to the checkout form and the price adjusted to include VAT and postage and packing.
The customer confirms the order by clicking the Submit button or starts again using the Clear button.
|
|
|
|
|
|
|
|