I'm less than a novice!!
I'm creating an order form for employees to purchase company shirts.
So far I have a Quanty, Shirt (ddl), Color(ddl dependent on Shirt choice), Size (dependent on Shirt choice) and Unit Price field (dependent on Shirt & Size).
The form works how I want it to so far. When a specific shirt is selected, the appropriate Colors and Sizes become available.
I'm stuck on how to get the appropriate value to populate in the Unit Price.
I've tried writing and if statment for the Unit Price but I'm not sure if that is the best way to go about it.
Scenario is...
If Shirt "A" is selected and if either Size "1","2" or "3" is chosen the Unit Price is $x.xx" If Shirt "A" is selected and Size "4", or "5" is selected, the Unit Price is $xx.xx
And so on and so forth for all four shirt choices.
I've created the form in JavaScript.
Any thoughts on the best way to approach Unit Price??
Katie
George Kaiser