When submitting a ticket query the ticket database for the COUNT() of tickets submitted by the user. If < 5, do not show the ticket form right away. Where "Create the Ticket" is provide a button that says "Continue" or something along those lines. Continuing will then show the form. JavaScript could be used to show the hidden div.
For users that have submitted more than 5 tickets the form would be visible right away.