with the help of this thread
I figured out how to hide an entire ticket field from all customer companies except customer 1. How do I go about only showing the ticket field for a few customers? like company 1 and company 6
Also this hides the drop down but does not hide the field label. Does anyone know how to remove the label as well?
<script type="text/javascript">
{% if portal.user.company_name <> "company 1")) %}
document.addEventListener("DOMContentLoaded", function() {
jQuery('#helpdesk_ticket_custom_field_cf_affected_geo_3014498').remove();
});
{% endif %}
</script>