validate the day,month and year of the date
now disables button if input is 0