client-side validations on schedule form