Hi,
You can write the javascript function for date validation.
e.g.
<html>
<head>
<script language ="javascript">
function validate_Date()
{
var mon;
var mydate;
var ind;
//get selected month
ind = document.getElementById("selMonth").selectedIndex;
mon = document.getElementById("selMonth").options[ind].value;
//get selected date
ind = document.getElementById("selDate").selectedIndex;
mydate = document.getElementById("selDate").options[ind].value;
//check for invalid dates
if (mon == "Feb" && mydate == "31")
{
alert('........');
}
}
</script>
</head>
<body>
<SELECT id="selMonth" name=select1>
<OPTION selected>Jan</OPTION>
<OPTION value ="Feb">Feb</OPTION>
'
'
'
'
'</SELECT>
<SELECT id="selDate name=select2>
<OPTION selected value ="1">1</OPTION>
<OPTION value ="2">2</OPTION>
'
'
'
'
'</SELECT>
</body>
</html>