Page 1 of 1

Custom Fields only on ticket reply

Posted: Mon Oct 07, 2013 4:11 pm
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

Re: Custom Fields only on ticket reply

Posted: Tue Oct 08, 2013 9:16 am
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.

Re: Custom Fields only on ticket reply

Posted: Tue Oct 08, 2013 2:35 pm
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.