adding the keypress event for ticket number input field.