I'm in the end stages of my program and everything is running fine, all i need to do now is create some data validation for my form.
I've dabbled around and have figures out how to validate textboxes but am not sure how to validate my drop down boxes.
So my if statement to validate is
if (Verb == "")
{
alert( "Please pick a valid option");
document.LimGenerator.Name.focus() ;
}
return false;
and my html is
<td> Pick a past tense verb </td><td><select name="Verb" size="1" value="up" id="Verb">
<option value="">Please Choose</option>
<option value="1">Sat</option>
<option value="2">Jumped</option>
<option value="3">Hopped</option>
</select><br /></td></tr>
Hope you can help
ChargrO