osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
Need to add a field to the new ticket form
Hi, we are using the platform only to the IT department at the moment, but now we want to add a mantainance dept and we want the users can set in the new ticket form to who is assignated the ticket.
We were using the topic table of the database as each office or "secretary" from the university... this would be "finances" "class rooms" "direction" "dean" etc... so we can't use that field as filter to do this.
I managed to create a field as a list that contains the departments IT and Mantainance and it get those from the table departments of my database, but I don't know how to get the variable to reach the function create and set in the ticket database the dept_id to the one that is selected..
I attach my "open.inc.php" in a txt file so you can read my code and tell me where is my error or what i'm missing here to get success with my idea
Thanks in advance and greetings!