The Zendesk Classic Web Widget does not provide a way to hide certain fields in the forms. These fields can be seen here but for example Subject
and Description
.
One of the most asked questions on the Zendesk Support Center is how to disable these.
The proposed way is not developer friendly. Instead, this repository proposes to hide the HTML of these fields after the Widget has loaded.
Checks if the Web Widget has loaded and if so, removes unwanted fields.
- Copy the code from inside
script.html
- Adjust your HTML so that the copied code is included anywhere within the
body
tag.
Hope that your Zendesk integration goes smooth 🤞
This solution was inspired by Zendesk-Customizations