Quantcast
Channel: Recent Discussions on osTicket Forums
Viewing all articles
Browse latest Browse all 7550

Need to add a field to the new ticket form

$
0
0
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!

Viewing all articles
Browse latest Browse all 7550

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>