I have a form where I have two purchase options. What I want is to check the box and if it clicked assign a value to an input but, if box are clicked to add the totals and so on...see below for code
function Total(){
f=document.orders
Total1=if (f.Locator.value == "Checked"? 19.95:0.00;
Total1=if (f.Teacher.value =="Checked"? Total1+9.95:Total1;
f.Price.value = Total1;
}
thanks
bastien [sig][/sig]
function Total(){
f=document.orders
Total1=if (f.Locator.value == "Checked"? 19.95:0.00;
Total1=if (f.Teacher.value =="Checked"? Total1+9.95:Total1;
f.Price.value = Total1;
}
thanks
bastien [sig][/sig]