This article describes the conditional ticket fields feature in Zendesk Support, not the Conditional Fields app. If you are already using the Conditional Fields app, we recommend that you migrate your conditions from the app to the conditional fields feature in Support.
You can create conditional ticket fields in Support to control the appearance and behavior of ticket fields in ticket forms. For example, you can limit the number of ticket fields that appear in ticket forms, and control the sequence in which ticket fields are presented to end users.
Conditional ticket fields are available on the following plan types. All Guide plans, including Guide Lite, support the conditional ticket fields feature in Support.
- Plus or Professional with the Productivity Pack add-on
This article includes these sections:
- Using conditional ticket fields
- About conditions and conditional statements
- Adding and editing conditional ticket fields on ticket forms
- How conditional ticket fields are saved
- Using conditional ticket fields with the Web Widget
Using conditional ticket fields
With conditional ticket fields, only the fields that you want agents and end users to see appear in ticket forms. Initially, only a few fields appear in the form. As the user fills in their answers, the form progressively adds sub-fields based on the users’ answers. This helps you collect more granular and relevant information about their problem or request.
For example, when you add a condition to a ticket form, you specify whether the condition is for agents or end users.
Conditions for agents affect ticket fields that appear in the agent interface in Support. Conditions for end users affect ticket fields in forms that appear in the Help Center and Web Widget.
By limiting the number of fields that initially display, you make it so that agents and end users complete only the fields that are required or relevant fields. This results in a better experience and time-savings for both end users and agents.
About conditions and conditional statements
A conditional ticket field is a ticket field within a ticket form that only appears to agents and end users some of the time, under certain circumstances. Those circumstances are defined by the Support administrator in a condition (or condition statement), which is an if-then statement, or rule, that is associated with a specific ticket form.
For example, notice that the words if and then are used in this portion of the Support interface, where the administrator creates a condition.
This table explains the parts of a conditional statement in more detail.
When filling out this field
Specify a field that you want to apply conditions to. This will be the “conditional ticket field.”
These are the types of fields you can select and apply conditions to:
If value is
Specify the value that the conditional ticket field (as defined in When filling out this field) must be in order for other fields to appear in the ticket form.
Then show these fields
Specify fields that will appear when the conditional ticket field (as defined in When filling out this field) is set to the correct value (as defined in If value is).
You can specify any fields on the ticket form, except for:
You can use the Required check box to make these fields (in Then show these fields) required.
Required to solve and Required to submit are options on ticket fields (from Manage > Ticket Fields) and they can be overridden by conditional ticket fields.
On conditions for agents:
On conditions for end users:
You can manually clear the Required check box, if you want to, which will make the ticket field optional on the ticket form.
Adding conditional ticket fields to ticket forms
Adding conditions to ticket forms creates conditional ticket fields that agents and end users encounter when they complete a ticket form. You can add a single condition or multiple conditions, if needed, to the ticket form.
To add conditions to ticket forms
- In the sidebar, click the Admin icon () and then select Manage > Ticket Forms.
Note: If you are already using the Conditional Fields app, migrate your conditions from the app to the conditional fields feature in Support before you proceed.
- Move the cursor over the ticket form until you see the hidden text on the right. Click the conditions link.
- From the Conditions for drop-down list, choose a type of user (Agents or End users).
- To view the conditions that are already on the ticket form, click the expand icon () to expand the sections.
You can edit, duplicate, and delete conditions at this stage also, if you want to.
- Click the Add condition button.
- In the dialog box that displays, create a conditional statement by defining these items. When you are done, click the Add button to add the condition to the ticket form.
The Add another check box causes the dialog box to remain open after you click the Add button, so that you can continue to add another condition, if needed.
- Once you are done, remember to click the Save button to save the changes to the ticket form. Otherwise, your changes are lost.
Editing, duplicating, and removing conditional ticket fields on ticket forms
You can edit or remove conditions on ticket forms. You can also duplicate an existing condition, edit the duplicate, and then save the duplicate as a new condition on the same ticket form. However, you can't copy and paste a condition into another ticket form.
Use these icons:
Use the edit icon to change a condition. Make your changes in the dialog box that appears, and then click the Update button.
Use the duplicate icon to duplicate (copy) a condition. Modify the duplicate in the dialog box that appears, and then click the Add button.
The reason you have to modify the duplicate is because the If value is part of the condition statement must be unique (you can’t use the value in another condition on the ticket form).
Use the delete icon to delete a condition.
How conditional ticket fields are saved
Selections from conditional ticket fields are retained while you remain in the ticket, even if you make a field invisible, or change the ticket form. However, when you submit the ticket, only the fields that are visible are saved. If you exit, then re-enter a ticket, any unsaved field selections are not retained.
If you want to save all conditional ticket field selections you make on a ticket, you must submit the ticket while each field you want to save is visible.
You have three drop-down ticket fields, Parent, Child 1, and Child 2.
- From the Parent drop-down list, select Show child 1 and select Susan for the Child 1 field value.
- Without submitting the ticket, select Show child 2 from the Parent drop-down list and select Peter for the Child 2 field value.
- With Show child 2 selected, submit the ticket.
Show child 2 and Peter are saved. However, you can select Show child 1 and see that the value Susan is retained.
- Without submitting the ticket, exit and re-enter the ticket.
Now, under Show child 1, the value Susan is empty. This is because you never submitted the ticket and saved this value while Show child 1 was displayed.
- With Show child 1 displayed, and Susan selected, submit the ticket to save these values.
Now, whenever you exit and re-enter the ticket, the values for both Show child 1 and Show child 2 are retained because you submitted the ticket and saved each of these values while they were visible.
Using conditional ticket fields with the Web Widget
If a ticket form includes conditional ticket fields from Support, and ticket forms are enabled in the Web Widget from your admin settings, conditional ticket fields are presented to end users in the Web Widget.
The Web Widget supports most conditional ticket fields from Support (but not from the Conditional Fields app). The Priority and Type fields are not supported in the Web Widget. If you apply conditions to these fields, they appear in the agent interface and in ticket forms that appear in the Help Center, but not in the Web Widget.
To confirm that tickets forms are enabled in the Web Widget
- Click the Admin icon () in the sidebar, and then navigate to Channels > Widget.
For more information about using ticket forms in the Web Widget, see the section about ticket forms in Configuring components in the Web Widget, and Using custom ticket fields and ticket forms with the Web Widget.