Custom Fields only on ticket reply

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
skbaines
Posts: 1
Joined: Mon Oct 07, 2013 3:54 pm

Custom Fields only on ticket reply

Post by skbaines »

Script URL:
Version of script: 2.5
Hosting company: Internal
URL of phpinfo.php: Internal
URL of session_test.php: Internal
What terms did you try when SEARCHING for a solution: I've searched this BB for help.

Write your message below:

Hello,
I would like to use the custom fields I've created only on our ticket "Add update" portion of the ticket, instead of, or in addition to the required "Message" field, but not on the main ticket submission. Has anyone done this? I've looked at the admin_ticket.php trying to figure out how to add it, but when I use the code that adds the custom fields before/after message, but that does not work at all, it actually breaks the page.

Thanks in advance!
Sharon
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Custom Fields only on ticket reply

Post by Klemen »

I'm afraid that such customizations are out of the scope of my support here.

If anyone has done something like this please feel free to share, but you will most likely need to hire a developer or tackle with it yourself.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
alcazar
Posts: 81
Joined: Mon May 27, 2013 6:36 pm

Re: Custom Fields only on ticket reply

Post by alcazar »

If me understands it right, you want that "customers" can not enter custom fields, only staff can do.
Then it should be sufficient to comment out the resp. code for showing the custom fields in both "Submit Ticket" and "Reply Ticket" Form in the frontend (index.php and ticket.php ? ).

Note: This will remove the CF permanently. Not sure if they will be shown to customers when staff enters them. If you want certain fields to be shown you need an extra settings-column to indicate whether the field should be displayed or not. Hire a programmer for both.
Alcazar
(nach Diktat spazierengegangen)
Post Reply