---
title: "Form Control Key Triggers"
slug: "key-triggers-form-controls"
description: "This document shows how to create and use Key Triggers on Forms and Form Controls in Decisions.  Key Triggers allow users the ability to input a certain combination of keyboard inputs, to trigger a number of options on the form, such as form navigation or validation. "
tags: ["Hotkeys", "Shortcuts"]
updated: 2024-12-09T19:01:25Z
published: 2024-12-09T19:01:25Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Form Control Key Triggers

## Overview

**Key Triggers** allow users to create key shortcuts that may perform different actions such as navigating to a different control, triggering action controls, running validation rules or data flows.

These key shortcuts may be designed to work throughout the entire Form or for only specific Form controls.

---

## Configuration

To set a key trigger, select a control to view its Properties then expand the **Triggers**section and select ADD. The following configuration options are available:

| Setting Name | Function |
| --- | --- |
| Shortcut Key | Prompts for the shortcut/hotkey for the trigger e.g. SHIFT+R |
| Trigger Type | Allows selection of trigger functionality i.e. what occurs after initiating the trigger |
|  | GoToControl | This function will trigger the focus of the Form to a Form control. |
|  |  | Control To Focus | Allows selection of which control will the shortcut trigger will autofocus towards |
|  | TriggerAction | This function will trigger an action placed on the Form; if a Button is placed on the Form it will trigger the Button based on the configured Shortcut Keys. |
|  |  | Control To Trigger | Allows selection of which action present on the Form to trigger |
|  | [RunActiveFormFlow](/v9/docs/active-form-flows-overview) | This function will trigger a previously created Active Form Flow to run based on user settings which can validate user input, hide/show or enable/disable controls, and set values on controls. |
|  |  | Active Form Flow | Allows selection of which Active Form Flow to run once initiating the trigger |
|  | [RunValidation](/v9/docs/form-validation-flow) | This function will be phased out and replaced with Active Form Flows. |
|  |  | Validation Rules | Allows selection of which Validation Rule to run once initiating the trigger |
|  | [RunDataFlow](/v9/docs/using-data-flow-form) | This function will be phased out and replaced with Active Form Flows. |
|  |  | Data Flows | Allows selection of which Data Flow to run once initiating the trigger |

---

## **Example**

1. In a Designer Project, [create a Flow](https://documentation.decisions.com/v9/docs/creating-your-first-flow-2). It will automatically open in the Flow Designer.
2. In the Flow Designer, add a **Show Form** step from **Toolbox**> FAVORITE STEPS section to [create a new Form](https://documentation.decisions.com/v9/docs/create-a-form). It will automatically open in the Form Designer.
3. In the Form Designer, from the **Toolbox**> FAVORITES, add a **Button**[Done] and a **Textbox**control. Provide a Data Name for the Textbox.
4. Select the **Text Box.** In its **Properties** panel > TRIGGERS **> Key Triggers,**select **Add****New.**  
![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-08-08_10h27_28.png)
5. In the **Add Key Triggers** window, define**Shortcut Key**by selecting the setting then entering a key or a combination of keys.
6. Next, set the **Trigger Type**to **TriggerAction**. Notice the Control to Focus setting change to **Control To Action.**Select the [Done] Button then select OK to confirm the trigger creation.  
![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2024-08-08_10h28_11.png)
7. **Save**and close****the Form Designer.
8. In the Flow Designer, set the Form's input mapping to **Ignore**. Connect the **Done**outcome of the Form to the **End**step to complete the Flow.

### Debug

1. Select **Debug**from the Top Action Panel.
2. In the Debugger, click START DEBUGGING and the Form will display. The **Shortcut Keys** [**Shift + R]**will be selected on the keyboard and the Form will close; this ends the Flow.

---

For further information on Forms, visit the [Decisions Forum](https://community.decisions.com/categories/Forms).
