--- title: "Disable Control" slug: "disable-control" tags: ["disable", "control", "active form flows"] updated: 2023-06-01T20:21:26Z published: 2023-06-01T20:21:26Z canonical: "documentation.decisions.com/disable-control" --- > ## 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. # Disable Control | Step Details | | --- | | **Introduced in Version** | 7.0 | | **Last Modified in Version** | 7.0 | | **Location** | Form Rules | The Disable Control step selectively disables a specific Form control. Developers can dynamically control the interactivity and usability of a control based on specific conditions. This step is particularly useful when there is a need to restrict user interaction with a control, such as preventing data entry or selection based on certain conditions. Pair this step with the [Enable Control](/step-library/docs/enable-control) step to disable and enable controls based on the same criteria. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Form Control | Choose the desired Form Control to disable. The available Form Controls are under the **Form Data** category when picking data from the Flow. | FormControlData | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2023-06-01_16h16_02.png) --- ## Common Errors ### Object reference not set to an instance of an object. The Form Control Input is not mapped to a Form Control. Evaluate the mapping to this step to correct the problem. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Disable Control[DisableControlStep] in flow [ Rule Flow 1]: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DecisionsFramework.Design.Flow.FlowStep.BuildMappingData(FlowStateData data at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- --- Related Information Articles: [Active Form Flow Overview](https://documentation.decisions.com/docs/active-form-flows-overview) ## Related - [Hide Control](/hide-control.md) - [Enable Control](/enable-control.md)