IMHO... you nneed to look at the regular expression, try here for an idea http://www.regular-expressions.info/dates.html

also, your form
<form>
<input type="text" id="fbdy" name="fbdy"/>...