Hi,
I need help to showing the result of custom field that set for staff only to public ticket view.
if i check in print view the result will be shown, but if i check in. /ticket.php the result still hide.
please help.
thank you
Showing result of custom form field, that only set visible for staff only to public ticket view.
Moderator: mkoch227
Re: Showing result of custom form field, that only set visible for staff only to public ticket view.
Sorry, but I do not understand what you mean.
Can you show some real-life examples (screenshots) of what happens and what do you want to happen?
Can you show some real-life examples (screenshots) of what happens and what do you want to happen?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Showing result of custom form field, that only set visible for staff only to public ticket view.
SOLVED
Last edited by yogifazar on Mon Jul 31, 2023 3:48 pm, edited 1 time in total.
Re: Showing result of custom form field, that only set visible for staff only to public ticket view.
Great, I do understand now what you mean.
Staff-only fields will never show on the public side - this is by design.
In your case, when you print it, it only shows because you are logged into Hesk as a staff member. If you open the ticket on another computer (or in a private/incognito browser mode), you will see that it does not show so your customers will NOT see these fields.
For the fields to show on the public side, you will need to:
1. create a PUBLIC custom field
- OR -
2. edit your ticket.php and /inc/print_template.inc.php files to show all kind of custom fields ($v['use'] == 1 and $v['use'] == 2). We don't provide support for such customizations, you will need to get help from a PHP developer if unsure how to edit PHP files.
Staff-only fields will never show on the public side - this is by design.
In your case, when you print it, it only shows because you are logged into Hesk as a staff member. If you open the ticket on another computer (or in a private/incognito browser mode), you will see that it does not show so your customers will NOT see these fields.
For the fields to show on the public side, you will need to:
1. create a PUBLIC custom field
- OR -
2. edit your ticket.php and /inc/print_template.inc.php files to show all kind of custom fields ($v['use'] == 1 and $v['use'] == 2). We don't provide support for such customizations, you will need to get help from a PHP developer if unsure how to edit PHP files.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Showing result of custom form field, that only set visible for staff only to public ticket view.
Thank you, my problem solved.