FormField Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets the FormField to which the specified action is executed.
Syntax
public FormField FormField { get; }Public ReadOnly Property FormField As FormFieldExamples
The following example builds a rule around an approval check box in a fillable form by using Instruction.FormField.
CheckFormField approvalField = new(false) { Name = "Approved" };
textControl.FormFields.Add(approvalField);
Instruction instruction = new(approvalField, Instruction.InstructionTypes.IsEnabled, true);
Console.WriteLine($"Form Field: {instruction.FormField}");
Console.WriteLine("Instruction is ready for use.");Dim approvalField As New CheckFormField(False) With { .Name = "Approved" }
textControl.FormFields.Add(approvalField)
Dim instruction As New Instruction(approvalField, Instruction.InstructionTypes.IsEnabled, True)
Console.WriteLine($"Form Field: {instruction.FormField}")
Console.WriteLine("Instruction is ready for use.")Limitations
Read only.
Remarks
The value represents the constructor's formField parameter value. It has to be part of the document when the related ConditionalInstruction instance is added to the FormFieldCollection.ConditionalInstructions collection.