Site hosted by Angelfire.com: Build your free website today!


Problem #16 - Set Price and Desc Variables

In this exercise you are changing the non-visible description and pricing values used by the form to record items in the shopping cart.

(1) Set the Form variable "Price" in yoda1.htm-yoda6.htm
yoda1.htm: <input type="hidden" name="price" value="18">
yoda2.htm: <input type="hidden" name="price" value="35">
yoda3.htm: <input type="hidden" name="price" value="15">
yoda4.htm: <input type="hidden" name="price" value="30">
yoda5.htm: <input type="hidden" name="price" value="200">
yoda6.htm: <input type="hidden" name="price" value="400">

(2) Set the Form "Desc" in yoda1.htm-yoda6.htm
yoda1.htm: name="desc" value="Complete vintage yoda with orange snake"
yoda2.htm: name="desc" value="Yoda Ceramic Vase"
yoda3.htm: name="desc" value="Yoda Shampoo Bottle (unopened)"
yoda4.htm: name="desc" value="Ceramic Yoda Bank"
yoda5.htm: name="desc" value="Yoda salt and pepper shakers"
yoda6.htm: name="desc" value="Authentic Life Size Yoda"