Issue symptoms
I noticed that there is no Description field on the Web Widget (Classic). Only the Subject field appears. Due to the lack of description, the subject is lengthy.
Resolution steps
You can add the Description field, however, custom code is required. Add the below script to the source code of your website, after the widget code.
<script type="text/javascript">
zESettings = {
webWidget: {
contactForm: {
fields: [
{ id: 'subject', prefill: { '*': 'Request subject here' } },
{ id: 'description', prefill: { '*': 'Request description here' } },
]
}
}
};
</script>
Disclaimer: This article is provided for instructional purposes only. Zendesk does not support or guarantee the code. Post any issues you have in the comments section or try searching for a solution online.
For more information, see this article: Using custom ticket fields and ticket forms with the Web Widget (Classic).
0 comments