That would require custom code and is beyond the scope of the help I can provide.
Also, it is not an osTicket Awesome question, but rather a question regarding core osTicket functionality.
My recommendation would be to ask this question in the Mods and Customizations section of the osTicket forums.
Good luck!