# Instruction.IsFormFieldChangeInstruction Property

> Gets or sets a value indicating whether this Instruction listens to value changes of the related conditions' form fields. If this property is set to false, the instruction ignores any form field change that would cause an action. Otherwise the corresponding actions are executed. The default value is true.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > Instruction.IsFormFieldChangeInstruction Property
- **685 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/isformfieldchangeinstruction-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/isformfieldchangeinstruction-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/isformfieldchangeinstruction-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether this `Instruction` listens to value changes of the [related conditions'](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/conditionalinstruction/conditions-property/llms-full.txt) [form fields](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/condition/formfield-property/llms-full.txt). If this property is set to false, the instruction ignores any form field change that would cause an action. Otherwise the corresponding actions are executed. The default value is true.

### Syntax

```csharp
public bool IsFormFieldChangeInstruction { get; set; }
```

```vbnet
Public Property IsFormFieldChangeInstruction As Boolean
```

### Examples

The following example builds a rule around an approval check box in a fillable form by using `Instruction.IsFormFieldChangeInstruction`.

```csharp
CheckFormField approvalField = new(false) { Name = "Approved" };
textControl.FormFields.Add(approvalField);
Instruction instruction = new(approvalField, Instruction.InstructionTypes.IsEnabled, true);

instruction.IsFormFieldChangeInstruction = true;
if (instruction.IsFormFieldChangeInstruction)
{
    Console.WriteLine("Instruction: Is Form Field Change Instruction is enabled.");
}
```

```vbnet
Dim approvalField As New CheckFormField(False) With { .Name = "Approved" }
textControl.FormFields.Add(approvalField)
Dim instruction As New Instruction(approvalField, Instruction.InstructionTypes.IsEnabled, True)

instruction.IsFormFieldChangeInstruction = True
If instruction.IsFormFieldChangeInstruction Then
    Console.WriteLine("Instruction: Is Form Field Change Instruction is enabled.")
End If
```

---

## Nearby

- **Previous:** [Instruction.IsElseInstructionEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/iselseinstructionenabled-property/llms-full.txt)
- **Next:** [Instruction.IsInitialInstruction Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/instruction/isinitialinstruction-property/llms-full.txt)
