> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/configuring-logic.md). Agents can also search and read this documentation through its [MCP server](https://docs.collibra.com/~gitbook/mcp).

# Template logic

For each page or field in an assessment [template](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-gallery.md), you can configure logic, whereby if certain conditions are met, a specified action occurs. You can [create](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/configuring-logic/create-logic-conditions.md), [edit](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/configuring-logic/edit-logic-condition.md), and [delete](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/configuring-logic/delete-logic-conditions.md) logic conditions by using the logic settings on the [**Template designer**](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/configuring-logic/logic-settings-in-designer-tab.md) and [**Template logic**](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/configuring-logic/logic-settings-in-logic-tab.md) tab.

## Example

Question 6 in your template, a Checkbox field, asks if your organization has reviewed how they ask for and record consent.

Question 7, a Date Picker field, asks by when the task will be complete. If the answer to Question 6 is "Successfully implemented" or "Not applicable", there is no need to show Question 7.

Therefore, you configure the logic for Question 7 as follows:

* **Visible if**: If the user responds to Question 6 with "Not yet implemented," Question 7 is shown.
* **Required if**: Furthermore, if the user responds to Question 6 with "Not yet implemented," Question 7 is a mandatory question.

![](https://172513724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRUJ2Awbxzd1UAaQbb7Dc%2Fuploads%2Fgit-blob-d7dd4f71a4575bc595ad0164607cc257bfa86e7c%2Fassess-assess-config-logic.png?alt=media)

## Good to know

* Any logic that you configure for a given field overrides the **Visible** and **Required** settings that you may have set in the sidebar.
* Any logic that you configure on the **Template designer** tab appears on the **Template logic** tab, and vice versa.
* If a field is hidden, it is excluded from the logic that determines whether another field or page is visible, editable, or required. If you want the hidden field to be included in the logic, select the [**Keep answer when hidden**](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/configuring-logic/logic-settings-in-designer-tab.md) checkbox for the field.
* [Scores](https://docs.collibra.com/ai-command-center/ai-business-users-governing-ai-use-cases/ai-command-center-assessments/working-with-assessment-templates/template-fields-and-settings/scores.md) are automatically recalculated when a field is dynamically hidden.
* File upload and rich text box fields do not appear as available conditions.
