here is a copy of my code:
<table border=1 width=500 height=50 background="clouds.gif">
<tr>
<td align=left> <b>Calculate Shipping</b> </td>
</tr>
</table>
<br>
<br>
<br>
<form name="products">
<table border=1 width=200 height=10 cellpadding=10 bgcolor="ADBBFF">
<caption> Select products below </caption>
<tr>
<td align=center> <b> Product 1 </b> </td><td align=center><b>25</b></td><td align center><input type = checkbox name =
check1 ></td>
</tr>
<tr>
<td align=center><b> Product 2 </b> </td> <td align=center><b>50</b></td><td align center><input type = checkbox name =
check2 ></td>
</tr>
<tr>
<td align=center><b> Product 3 </b> </td> <td align=center><b>100</b></></td><td align center><input type = checkbox name =
check3 >
</tr>
</form>
</table>
<form name="delivery">
Where do you want your products delivered to?
<select name=status>
<option selected value = "none"> Choose Shipping Option ...</option>
<option value ="irl">Ireland(2.00)
<option value = "roe">Rest Of Europe (3.00)
<option value = "row">Rest of world (7.00)
</select>
<p>
</form>
<form name = form1>
<input type = text size = 6 name = "ship1" value="-total-">
<input type = button name = button1 value = "calculate"
onClick='
Total = 0;
if(document.products.check1.checked){
Total +=25;}
if(document.products.check2.checked){
Total +=50;}
if(document.products.check3.checked){
Total +=100;}
if (document.delivery.status.value == "irl"){
Total+=2;}
else if (document.delivery.status.value =="roe"){
Total+=3;}
else if (document.delivery.status.value =="row"){
Total+=7;}
document.form1.ship1.value = Total;
'>
</form>
which displays 2 forms, one for shipping information and one for product information. how do i display an alert if no product boxes are ticked, or if no shipping info is selected? im basically stuck on how to write the javascript function to do this. help?