We can now customize fields while the user opens tickets.
follow the following steps
1) create new fields on the page newticket.php in the staff direcotry
2) open class.ticket and go to create function and add new variables
function create($var,&$errors,$origin,$autorespond=true,$alertstaff=true) {
//$Category = $_POST;
global $cfg,$thisclient,$_FILES;
$HDcategory=$_POST;
$HDtype=$_POST;
$HDitem=$_POST;
$HDcenter=$_POST;
$HDsystem=$_POST;
$HDclient=$_POST;
$HDmid=$_POST;
//and simply insert the values where he inserts his values
',HDCat='.db_input($HDcategory).
',HDType='.db_input($HDtype).
',HDItem='.db_input($HDitem).
',HDCentre='.db_input($HDcenter).
',HDSystem='.db_input($HDsystem).
',HDClient='.db_input($HDclient).
',HDMid='.db_input($HDmid).
',HDRootCauseCat='.db_input($HDrootcausecat).
',HDRootCauseType='.db_input($HDrootcausetype);
let me know if there are any concerns
________
(RZ350)