Skip to main content
Closed for Voting

Fields visible to specific customers

Related products:Freshdesk
  • October 14, 2015
  • 2 replies
  • 20 views

We have partners and customers.  It would be nice if we could allow ticket fields visible to certain customers.

2 replies

aravind.sundararajan
Skilled Expert
Forum|alt.badge.img+12

Hello,


This is possible using portal customisation feature available on the Estate plan. You can create a custom contact field and assign values to these special users. You could then use jQuery to show/hide fields based on the contact field value. Here's a sample script that can be used to hide fields based on the user profile.


Here, show_fields corresponds to the custom field name and the #ticketfield1 stands for the ID of the ticket field element.

<script>

{% if portal.user.show_fields == false %}

jQuery('#ticketfield1').hide();

{% endif %}

</script>



Cheers!


aravind.sundararajan
Skilled Expert
Forum|alt.badge.img+12