added validations to ticket form