Suite | Team, Growth, Professional, Enterprise, or Enterprise Plus |
Support | Team, Professional, or Enterprise |
关于自定义字段
- 使用下拉列表、多选和复选框自定义字段,在自行程序、宏、触发器、报告和视图中生成标签(请参阅了解自定义工单字段、标签和业务规则)。
- 用作宏、工单评论和通知消息中的占位符(请参阅自定义字段的占位符)。
- 查找关系字段可用于触发器和视图(请参阅在触发器和视图中使用查找关系字段。
- 用于报告(Professional 和 Enterprise 服务模式)(请参阅使用自定义字段报告)。
- 用于搜索(请参阅搜索自定义用户和组织字段)。
自定义用户和组织字段仅对团队成员可见。终端用户看不到它们。不过,除团队成员外,管理员还可以使工单字段对终端用户可见。
关于自定义字段类型
下表详细说明了您可以添加的自定义字段类型。此外,您还可以创建查找关系字段。
类型 | 描述 |
---|---|
下拉列表 | 此字段可以创建选项列表供用户选择。每个选项都是标题和标签的组合。标题将向用户显示,标签用作您可以在业务规则中使用的工单属性。您最多可以在自定义下拉列表中创建 2,000 个值,每个字段的最大长度为 255 个字符。 您可以选择在下拉列表中将哪个字段显示为默认选项,或选择默认不显示字段值。
注意:在下拉列表中配置默认选项仅适用于由专员通过专员工作区创建的新工单,或由用户在显示工单表格的位置创建的新工单。如果将现有工单表格更改为包含带有默认选项下拉列表的工单表格,则不会显示默认选项。
您可以对下拉列表选项进行归类(请参阅组织下拉列表选项)。 |
多选 | 此字段允许用户在预定列表中选择多个选项。您最多可以在自定义多选列表中创建 2000 个值。 您可以对选项进行归类(请参阅组织下拉列表选项)。 ![]() |
Text | 这是一个简单的单行文本输入。 此字段的字符限制为 65,536。 |
多行 | 这是一个多行文本输入。 此字段的字符限制为 65,536。 |
复选框 | 这用于捕获“是/否”值。输入一个勾选复选框后要添加到工单中的标签。使用该工单标签过滤您的视图、触发器和自行程序。 |
数字 | 适用于简单的数字输入(没有小数)。在组织、用户和自定义对象的自定义数字字段中输入的值不能超过 12 位。工单自定义数字字段中的值没有长度限制。 |
小数 | 适用于包含小数的数字。 |
日期 | 自定义日期字段允许用户从日期选取器中选择日期。用户可以选择当前日期或过去或将来的任意日期。
社区提示!Colin 演示了如何使用自定义日期字段来设置工单提醒。请在我们的社区论坛中查看该演示。 使用 webhook 或其他方法更改工单中的自定义日期字段时,请勿包含小时或时区,以免出错。 |
信用卡 | 此字段允许用户输入信用卡号。Zendesk 只会储存并且专员只能看见最后四位数。
注意:用户和组织字段不支持信用卡字段。
|
正则表达式 | 您可以输入正则表达式来创建一个输入掩码,以验证是否以固定模式(电话号码、邮政编码、社会保险号码等)正确输入数字。 这是美国社会保险号的正则表达式。此表达式需要三组数字(仅限 0-9),格式为 3-2-4,每组以短划线隔开: \b[0-9]{3}-[0-9]{2}-[0-9]{4}\b 其他常见的正则表达式包括:
正则表达式不得超过 255 个字符。 有关正则表达式的更多信息,请参阅 Microsoft 网站上的“Regular Expressions Language - Quick Reference(正则表达式语言 - 快速参考)”。Zendesk 使用 Ruby 处理正则表达式,这可能与其他语言的实现略有不同。有关两者之间的区别,请参阅 regular-expressions.info 网站上的“Using Regular Expressions with Ruby(在 Ruby 中使用正则表达式)”。 |
查找关系 | 自定义查找关系字段允许管理员定义工单、用户、组织和自定义对象之间可能存在的自定义关系。然后团队成员可以在处理工单、编辑用户个人资料、编辑组织或管理自定义对象时建立这些关系。请参阅使用查找关系字段。 |
75 条评论
Gab
Since Zendesk doesn't have calculated fields or business rule actions to do field calculations, you'd need something like a HTTP target to initialize this followup field based on the value of the delivery date field.
Take a look at this Community article I found that has a similar concern: Email Trigger based on custom date field
I hope this works for you.
0
Federico Costa
Hello!
I am writing to suggest adding a new condition for relational fields. It would be very beneficial if, in the case of relational fields for Organizations, there was an option to filter so that it only shows individuals belonging to that organization.
Organization / Is / <Actual organization>
Or something like that :)
1
qiang huang
I have two date type fields, Start Date and End Date
All displayed in the End User's request Form
I hope to achieve this effect, where the user selects a start date and the end date is automatically set to 3 months after the start date
Trigger seem to only increase or decrease from the current date
I tried using JavaScript, but in web pages, the Date type is an input tag of text type, not data type,I tried to set the value, but it didn't work
Is it possible to achieve it
0
Gabriel Manlapig
There isn't a native custom password type field or feature that will perform this validation to determine whether the inputs of the two fields are the same. However, I found this community Q&A post with custom JS in your Help Center theme that checks the custom field values before form submission.
For reference, please see below post:
New Request Page: Match validation based off 2 custom fields
Also, to access and edit the JavaScript in your help center, see Customizing the CSS or JavaScript.
I hope this helps. Thank you!
1
qiang huang
Thank you, Gabriel
I have another question
Is there a password type field, even if it is not a password type, I want to verify whether the inputs of the two fields are the same. Only when they are the same, can I submit the form. Can I implement it? Where should I write JavaScript or?
0
Gabriel Manlapig
As of this time, it is not possible to pre-set or add a default value for a custom text field. A dropdown field only allows for the setting of a default value.
I've taken a look and found that other users are discussing similar needs here:
Specific examples, details about impact, and how you currently handle things are the most helpful things to share to help our product teams understand the full scope of the need when working on solutions.
We truly value customer feedback and your voice and votes in the product feedback topics in the community help influence future Zendesk functionality. Thank you!
2
qiang huang
Hi, may I ask if anyone knows how to add default values to the Text field, or is there a field similar to a label type(Only display some fixed values and cannot be edited)
0
Katie Edwards
Hi Heather Rommel FedRAMP,
Thanks so much - that's a huge help!
0
Heather Rommel
Hi Katie Edwards,
In that scenario, you'd leave "agents can edit" checked and solve for that a different way. Yes, something has to be checked there!
Depending on your use case, you might want to 1. not add the field to the form and only use the triggers/automations to set the field.
2. add it to the form but use the Zendesk Field Manager app to hide or set the field as read only except for Admins https://www.zendesk.com/marketplace/apps/support/223753/ticket-field-manager/
Hope this helps!
2
Katie Edwards
Hi there,
I have a custom drop-down ticket field that is populated by a set of triggers. Ideally, I would like to make this only editable by ZD Admins as we don't want Agents to be able to edit this, but the only options I can see are attached below.
I cannot uncheck the 'Agents can edit' option. Any advice?
Thanks very much!
0
请先登录再写评论。