[Resolved] Task creation from ticket fails when Department is not selected (missing require

    • March 25, 2026 at 12:28 pm #25387

      When creating a task from a ticket in the Awesome osTicket theme, it is possible to submit the form without selecting a Department. The form does not indicate that the field is required, and no validation message is shown. Instead, the system returns a generic error message: “Error adding task – Please try again!”.

      In the default osTicket interface, the Department field is clearly marked as required and validation prevents submission. In the Awesome theme, the field is not visually marked as required and the user receives no indication of what caused the error.

      This creates a confusing user experience because the form appears valid but fails on submission.

    • March 31, 2026 at 9:23 pm #25428
      stevland
      Keymaster

      Hi @cbd4-dk,

      Thanks for reporting this. You’re right, and this is a bug on our end.

      The Department field on the task creation form should be marked as required and should validate before submission, just like it does in the default osTicket interface. Instead, it fails silently and returns a generic error, which is exactly the kind of confusing experience we’re trying to eliminate.

      This will be fixed in the next point release. In the meantime, you can add this to your Theme > Custom CSS:

      body.tickets-page #popup #new-task-form .error {
        display: inline;
      }

      Appreciate you taking the time to document this clearly.

You must be logged in to reply to this topic.