where do i go to modify the form contents under new ticket i want to add a field display... its a field that is already in the database by default, so the customer can select.. what file is the form in so i can add the field please.. i did find a link to a previous post ill check it out, that link tells me how to add to the database mmm its already in the database...
ok to better explain, i am going to offer this service to my clients for their customers and its going to be centralized, (i have reasons, some people are on windows servers and dont want to move to linux side to run php) so i will offer them the ticket service from my side..
what i need is when any customer goes to submit a ticket i want them to be able to choose what company the ticket should go to... i have set up my client companies as departments and it works fine that way, i just want the customer to tell me as the admin what company i should delegate the ticket to.
so on the ticket i have sermized that the field to display is the ost_department dept_name field, that should create a list of choices on the form for customers to choose from..
so when the customer comes on the page they fill out everything and then they choose what company they are dealing with.. then it comes to me as admin, i trasfer the ticket to that department and whalla i have provided service to my client for their customers...
if there is a way some day to sort and auto transfer to a particular department without admin doing it, that would be great..
ok so ill do some research, in the meantime can someone tell me what file the form is in so i can add the dept name field to the form.. thanks
here is the code i copied from admin settings, it pulls the dept info and puts in a selection box, but when i put the code in the form it does not pull the info from the db.. i tried modifying it and no good, i added the select but still nothing... can someone modify this code below to pull the dept name from the dept table and display the dif departments in the selection box... thanks so much
Company:
You need support from what Company
<?
$depts= db_query('SELECT dept_id,dept FROM '.department_TABLE.' WHERE isactive=1 ORDER BY topic');
while (list($id,$name) = db_fetch_row($depts)){
$selected = ($config==$id)?'SELECTED':''; ?>
"<?=$selected?>><?=$name?> Dept
<?
}?>
* <?=$errors?>