When editing JavaScript to hide ticket forms in Zendesk, ensure you copy all characters correctly, such as semicolons and braces, to avoid errors. The code uses the DOMNodeInserted Mutation Event, which is not supported in newer Chrome versions, so consider using Mutation Observer for compatibility.
Edit the script.js file in your theme, replacing placeholders with your specific form ID and organization name. This customization won't work for unauthenticated users or those without an organization, as all forms will display for them.
To hide ticket forms based on a user's organization in Zendesk, you need to use JavaScript to customize your help center's code. First, find the ticket form ID and the organization name. Then, edit the JavaScript in your theme's script.js file to…
To find a ticket form ID in Zendesk, navigate to the Admin Center and go to the Ticket Forms page. Select the ticket form you want to work with, and look at the URL in your browser. The ID number will be located after the last slash in the URL….
To find an organization name in Zendesk, go to the Admin Center and navigate to the People section. From there, you can browse or search for the organization you need. Once you find it, note down the exact name as it will be used in your JavaScript…
No, the method for hiding ticket forms based on a user's organization in Zendesk does not work for unauthenticated users. For these users, all ticket forms will be displayed regardless of the organization settings. This limitation means that the…