Forum Moderators: open
<tr>
<td align="left">
<input type="text" name="positionDesired[1]" size="45" value="1st Choice" onblur="if(this.value=='') this.value='1st Choice';" onfocus="if(this.value=='1st Choice') this.value='';">
</td>
<td align="right">
<input type="text" name="positionDesired[2]" size="45" value="2nd Choice" onblur="if(this.value=='') this.value='2nd Choice';" onfocus="if(this.value=='2nd Choice') this.value='';">
</td>
</tr>
<tr>
<td align="left">
<input type="text" name="positionDesired[3]" size="45" value="3rd Choice" onblur="if(this.value=='') this.value='3rd Choice';" onfocus="if(this.value=='3rd Choice') this.value='';">
</td>
<td align="right">
<input type="text" name="positionDesired[4]" size="45" value="4th Choice" onblur="if(this.value=='') this.value='4th Choice';" onfocus="if(this.value=='4th Choice') this.value='';">
</td>
</tr>
var form = document.staffApplication;
if(form.positionDesired[1].value == "" || form.positionDesired[1].value == "1st Choice"){
alert("Please enter your first choice for a position");
return false;
} else if(form.positionDesired[2].value == "" || form.positionDesired[2].value == "2nd Choice"){
alert("Please enter your second choice for a position");
return false;
} else if(form.positionDesired[3].value == "" || form.positionDesired[3].value == "3rd Choice"){
alert("Please enter your third choice for a position");
return false;
} else if(form.positionDesired[4].value == "" || form.positionDesired[4].value == "4th Choice"){
alert("Please enter your forth choice for a position");
return false;
}