Skip to main content

What would be the script to hide one value from the ticket Type field on the customer portal?

E.g. to hide value ‘Complaint’ from the Type field.

 

You’ll have to inspect the form to get the custom field attribute name. Then add a JavaScript on the submit ticket portal template 

 

<script type="text/javascript">
  document.addEventListener("DOMContentLoaded", function() {
          jQuery('#helpdesk_ticket_custom_field_type_selection_3014498 option0value="complaint”]').remove();

  });
</script>

 

 

 

 


Reply