Added code to make sure text fields aren't empty, month and day aren't
selected