form validation for user schedule