I have a series of checkboxes all with the same name of CITY. I am trying to come up with a way to give an alert if at least one is not checked and/or no keyword is entered into a text area. I'm not sure how to begin with the check box question. The form tag name is always "CITY" but the form value is different with each one. For example:<br><br><input type="checkbox" name="CITY" value="'City1'">City1<br><input type="checkbox" name="CITY" value="'City2'">City2<br><br>Right now, I have an alert for the standard Keyword page (thanks to the help from this site!) but now I need to add another statement for the above. Here is what I have now, but I'm not sure where to add the second alert, which will have different wording:<br><br> function OnSubmitKw(form){<br> if (form.Keywords.value=="" && form.searchtype.value=="Keyword"
{<br> alert("You did not enter any Keywords! Please try again."
;<br>return false;<br>}<br>}<br><br>DonP