![]() |
|||
|
|
|
|
|
Here is an example order form that will read a product number and call a
JavaScript function called formin1. A series of if statements are also used to
evaluate the item number from the form and assign a price and item description.
The JavaScript function will use the document command to display the item
number, item price and item description after receiving them from the item
number drop down selection box
Now then, your assignment is to split the form into two parts. Part 1 being the drop down item select box, and part 2 being the display of order, price, and description. Using the document.write command in your javascript function, make the second form appear as a confirmation of order page. Upon confirmation of order the second form should be directed to your email.
Please add a box for quantity ordered to the first part, and add a calculation and display of tax to the second part.
Good luck!