Date validation and styling
make sure dob valid before calling server.