# PdfFormField

Simple AcroForm field information read from a PDF document.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfFormField.cs:428](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L428)

**Modifiers**

sealed

Simple AcroForm field information read from a PDF document.

## Inheritance

- object
- PdfFormField

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Fill and Flatten PDF Forms](/docs/pdf/forms/) Guide
  
  List AcroForm fields, fill them by name, flatten the result, exchange XFDF data, and add form fields to new PDFs with OfficeIMO.Pdf and PSWriteOffice.

## Usage

Explore 17 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 14

- Property [PdfAcroFormEditResult.Fields](/api/pdf/officeimo-pdf-pdfacroformeditresult/#property-fields)
- Property [PdfDocument.FormFields](/api/pdf/officeimo-pdf-pdfdocument/#property-formfields)
- Method [PdfDocumentInfo.GetFormFields](/api/pdf/officeimo-pdf-pdfdocumentinfo/#method-getformfields-officeimo-pdf-pdfformfieldkind)
- Property [PdfDocumentInfo.FormFields](/api/pdf/officeimo-pdf-pdfdocumentinfo/#property-formfields)
- Property [PdfDocumentInfo.FormFieldsByKind](/api/pdf/officeimo-pdf-pdfdocumentinfo/#property-formfieldsbykind)
- Property [PdfDocumentInfo.FormFieldsByName](/api/pdf/officeimo-pdf-pdfdocumentinfo/#property-formfieldsbyname)
- Property [PdfDocumentInfo.FormFieldsByPageNumber](/api/pdf/officeimo-pdf-pdfdocumentinfo/#property-formfieldsbypagenumber)
- Method [PdfDocumentReadResult.GetFormFields](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getformfields-officeimo-pdf-pdfformfieldkind)
- Property [PdfDocumentReadResult.FormFields](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-formfields)
- Property [PdfDocumentReadResult.FormFieldsByKind](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-formfieldsbykind)
- Property [PdfDocumentReadResult.FormFieldsByName](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-formfieldsbyname)
- Property [PdfDocumentReadResult.FormFieldsByPageNumber](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-formfieldsbypagenumber)
- Property [PdfFormInteractionInfo.Fields](/api/pdf/officeimo-pdf-pdfforminteractioninfo/#property-fields)
- Property [PdfLogicalFormWidget.Field](/api/pdf/officeimo-pdf-pdflogicalformwidget/#property-field)

### Accepted by parameters 3

- Method [PdfDocumentInfo.TryGetFormField](/api/pdf/officeimo-pdf-pdfdocumentinfo/#method-trygetformfield-string-officeimo-pdf-pdfformfield) parameter `field`
- Method [PdfDocumentReadResult.TryGetFormField](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-trygetformfield-string-officeimo-pdf-pdfformfield) parameter `field`
- Method [PdfFormFieldValueAssessment.Assess](/api/pdf/officeimo-pdf-pdfformfieldvalueassessment/#method-assess-officeimo-pdf-pdfformfield-officeimo-pdf-pdfformfieldvalue) parameter `field`

Filter members 

Show inherited

## Methods

`public IReadOnlyList<PdfFormWidget> GetWidgets(int pageNumber)` [#](#method-getwidgets-int32)

[PdfFormField.cs:428](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L428)

Returns readable widget annotations for this field on a one-based page number.

Parameters

**pageNumber int required**

Returns

`IReadOnlyList<PdfFormWidget>`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public IReadOnlyList<PdfFormWidgetAction> Actions { get; }` [#](#property-actions)

[PdfFormField.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L90)

Actions attached to a separate field dictionary; merged widgets expose their actions on the widget.

`public int? ObjectNumber { get; }` [#](#property-objectnumber)

[PdfFormField.cs:93](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L93)

Indirect object number for the field dictionary, when known.

`public string? Name { get; }` [#](#property-name)

[PdfFormField.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L108)

Fully qualified field name when a name can be read.

`public string? PartialName { get; }` [#](#property-partialname)

[PdfFormField.cs:111](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L111)

Partial field name from the field dictionary.

`public string? FieldType { get; }` [#](#property-fieldtype)

[PdfFormField.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L114)

Field type name, for example Tx, Btn, Ch, or Sig, when present or inherited.

`public PdfFormFieldKind Kind { get; }` [#](#property-kind)

[PdfFormField.cs:119](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L119)

Common field kind inferred from [PdfFormField.FieldType](/api/pdf/officeimo-pdf-pdfformfield/).

`public string? Value { get; }` [#](#property-value)

[PdfFormField.cs:140](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L140)

Simple field value formatted for wrapper display, when present.

`public IReadOnlyList<string> Values { get; }` [#](#property-values)

[PdfFormField.cs:143](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L143)

Simple field values from /V, preserving array values for multi-select choice fields.

`public int ValueCount { get; }` [#](#property-valuecount)

[PdfFormField.cs:146](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L146)

Number of readable field values.

`public bool HasValues { get; }` [#](#property-hasvalues)

[PdfFormField.cs:149](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L149)

True when at least one simple field value was readable.

`public string? DefaultValue { get; }` [#](#property-defaultvalue)

[PdfFormField.cs:152](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L152)

Simple default field value formatted for wrapper display, when present.

`public IReadOnlyList<string> DefaultValues { get; }` [#](#property-defaultvalues)

[PdfFormField.cs:155](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L155)

Simple default field values from /DV, preserving array values for multi-select choice fields.

`public int DefaultValueCount { get; }` [#](#property-defaultvaluecount)

[PdfFormField.cs:158](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L158)

Number of readable default field values.

`public bool HasDefaultValues { get; }` [#](#property-hasdefaultvalues)

[PdfFormField.cs:161](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L161)

True when at least one simple default field value was readable.

`public string? RichValue { get; }` [#](#property-richvalue)

[PdfFormField.cs:164](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L164)

Rich-text field value from /RV, when present.

`public string? RichValuePlainText { get; }` [#](#property-richvalueplaintext)

[PdfFormField.cs:167](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L167)

Plain-text projection of [PdfFormField.RichValue](/api/pdf/officeimo-pdf-pdfformfield/), when readable.

`public bool HasRichValue { get; }` [#](#property-hasrichvalue)

[PdfFormField.cs:170](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L170)

True when a rich-text field value was readable.

`public string? AlternateName { get; }` [#](#property-alternatename)

[PdfFormField.cs:173](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L173)

Alternate field name used as a user-facing label, when present.

`public string? MappingName { get; }` [#](#property-mappingname)

[PdfFormField.cs:176](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L176)

Mapping name used for export workflows, when present.

`public int? Flags { get; }` [#](#property-flags)

[PdfFormField.cs:179](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L179)

Raw field flags from /Ff, when present.

`public int? MaxLength { get; }` [#](#property-maxlength)

[PdfFormField.cs:182](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L182)

Maximum text length from /MaxLen, when present on a simple field.

`public string? DefaultAppearance { get; }` [#](#property-defaultappearance)

[PdfFormField.cs:185](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L185)

Default appearance string from /DA, when present or inherited.

`public bool HasDefaultAppearance { get; }` [#](#property-hasdefaultappearance)

[PdfFormField.cs:188](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L188)

True when a default appearance string was readable.

`public int? Quadding { get; }` [#](#property-quadding)

[PdfFormField.cs:191](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L191)

Raw AcroForm /Q quadding value, when present or inherited.

`public PdfFormFieldTextAlignment TextAlignment { get; }` [#](#property-textalignment)

[PdfFormField.cs:196](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L196)

Common text alignment inferred from /Q quadding.

`public IReadOnlyList<PdfFormFieldOption> Options { get; }` [#](#property-options)

[PdfFormField.cs:210](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L210)

Choice field options from /Opt, when readable.

`public int OptionCount { get; }` [#](#property-optioncount)

[PdfFormField.cs:213](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L213)

Number of readable choice options.

`public bool HasOptions { get; }` [#](#property-hasoptions)

[PdfFormField.cs:216](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L216)

True when at least one choice option was readable.

`public IReadOnlyList<int> SelectedIndices { get; }` [#](#property-selectedindices)

[PdfFormField.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L219)

Zero-based selected choice-option indices from /I, when readable.

`public IReadOnlyList<PdfFormFieldOption> SelectedOptions { get; }` [#](#property-selectedoptions)

[PdfFormField.cs:224](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L224)

Readable choice options identified by /I or, when absent, whose export value matches the field value list.

`public int SelectedOptionCount { get; }` [#](#property-selectedoptioncount)

[PdfFormField.cs:236](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L236)

Number of readable choice options whose export value matches the field value list.

`public bool HasSelectedOptions { get; }` [#](#property-hasselectedoptions)

[PdfFormField.cs:239](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L239)

True when at least one readable choice option matches the field value list.

`public IReadOnlyList<PdfFormFieldOption> DefaultSelectedOptions { get; }` [#](#property-defaultselectedoptions)

[PdfFormField.cs:244](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L244)

Readable choice options whose export value matches the default field value list.

`public int DefaultSelectedOptionCount { get; }` [#](#property-defaultselectedoptioncount)

[PdfFormField.cs:254](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L254)

Number of readable choice options whose export value matches the default field value list.

`public bool HasDefaultSelectedOptions { get; }` [#](#property-hasdefaultselectedoptions)

[PdfFormField.cs:257](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L257)

True when at least one readable choice option matches the default field value list.

`public bool IsReadOnly { get; }` [#](#property-isreadonly)

[PdfFormField.cs:260](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L260)

True when the common read-only field flag is set.

`public bool IsRequired { get; }` [#](#property-isrequired)

[PdfFormField.cs:263](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L263)

True when the common required field flag is set.

`public bool IsNoExport { get; }` [#](#property-isnoexport)

[PdfFormField.cs:266](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L266)

True when the common no-export field flag is set.

`public bool IsTextField { get; }` [#](#property-istextfield)

[PdfFormField.cs:269](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L269)

True when this is a text field.

`public bool IsButtonField { get; }` [#](#property-isbuttonfield)

[PdfFormField.cs:272](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L272)

True when this is a button field.

`public bool IsChoiceField { get; }` [#](#property-ischoicefield)

[PdfFormField.cs:275](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L275)

True when this is a choice field.

`public bool IsSignatureField { get; }` [#](#property-issignaturefield)

[PdfFormField.cs:278](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L278)

True when this is a signature field.

`public bool IsMultiline { get; }` [#](#property-ismultiline)

[PdfFormField.cs:281](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L281)

True when a text field has the multiline flag set.

`public bool IsPassword { get; }` [#](#property-ispassword)

[PdfFormField.cs:284](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L284)

True when a text field has the password flag set.

`public bool IsFileSelect { get; }` [#](#property-isfileselect)

[PdfFormField.cs:287](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L287)

True when a text field has the file-select flag set.

`public bool DoesNotSpellCheck { get; }` [#](#property-doesnotspellcheck)

[PdfFormField.cs:290](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L290)

True when a text or choice field disables spell checking.

`public bool DoesNotScroll { get; }` [#](#property-doesnotscroll)

[PdfFormField.cs:293](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L293)

True when a text field disables scrolling.

`public bool IsComb { get; }` [#](#property-iscomb)

[PdfFormField.cs:296](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L296)

True when a text field uses comb formatting.

`public bool IsRichText { get; }` [#](#property-isrichtext)

[PdfFormField.cs:299](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L299)

True when a text field has the rich-text flag set.

`public bool IsPushButton { get; }` [#](#property-ispushbutton)

[PdfFormField.cs:302](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L302)

True when a button field is a push button.

`public bool IsRadioButton { get; }` [#](#property-isradiobutton)

[PdfFormField.cs:305](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L305)

True when a button field is a radio button.

`public bool IsNoToggleToOff { get; }` [#](#property-isnotoggletooff)

[PdfFormField.cs:308](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L308)

True when a button field has the no-toggle-to-off flag set.

`public bool IsCheckBox { get; }` [#](#property-ischeckbox)

[PdfFormField.cs:311](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L311)

True when a button field is a check box rather than a push button or radio button.

`public bool IsCombo { get; }` [#](#property-iscombo)

[PdfFormField.cs:314](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L314)

True when a choice field is a combo box.

`public bool IsEditableChoice { get; }` [#](#property-iseditablechoice)

[PdfFormField.cs:317](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L317)

True when a choice combo box allows direct text editing.

`public bool IsSortedChoice { get; }` [#](#property-issortedchoice)

[PdfFormField.cs:320](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L320)

True when a choice field asks viewers to sort options.

`public bool AllowsMultipleSelection { get; }` [#](#property-allowsmultipleselection)

[PdfFormField.cs:323](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L323)

True when a choice field allows multiple selections.

`public bool CommitsOnSelectionChange { get; }` [#](#property-commitsonselectionchange)

[PdfFormField.cs:326](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L326)

True when a choice field commits values immediately when the selected item changes.

`public IReadOnlyList<PdfFormWidget> Widgets { get; }` [#](#property-widgets)

[PdfFormField.cs:329](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L329)

Simple widget annotations that visually represent this field, when readable.

`public bool HasUnplacedContent { get; }` [#](#property-hasunplacedcontent)

[PdfFormField.cs:332](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L332)

Whether this field has no widgets or has a widget not attached to a readable page.

`public int WidgetCount { get; }` [#](#property-widgetcount)

[PdfFormField.cs:335](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L335)

Number of readable widget annotations associated with this field.

`public bool HasWidgets { get; }` [#](#property-haswidgets)

[PdfFormField.cs:338](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L338)

True when at least one widget annotation was associated with this field.

`public string? JavaScript { get; }` [#](#property-javascript)

[PdfFormField.cs:343](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L343)

First readable JavaScript source attached to this field or one of its widgets, when present.

`public bool HasJavaScript { get; }` [#](#property-hasjavascript)

[PdfFormField.cs:358](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L358)

True when the field or at least one widget exposes a readable JavaScript action.

`public IReadOnlyList<int> PageNumbers { get; }` [#](#property-pagenumbers)

[PdfFormField.cs:363](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L363)

Distinct one-based page numbers where this field has readable widget annotations.

`public int PageNumberCount { get; }` [#](#property-pagenumbercount)

[PdfFormField.cs:389](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L389)

Number of distinct readable page numbers where this field has widgets.

`public bool HasPageNumbers { get; }` [#](#property-haspagenumbers)

[PdfFormField.cs:392](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L392)

True when at least one widget for this field has a readable page number.

`public IReadOnlyDictionary<int, IReadOnlyList<PdfFormWidget>> WidgetsByPageNumber { get; }` [#](#property-widgetsbypagenumber)

[PdfFormField.cs:397](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfFormField.cs#L397)

Readable widget annotations for this field grouped by one-based page number.

<!-- PowerForge markdown artifact sha256:07E16B75E0D475B3FE6B5DA08DB0B2740864BD9637152EDF55B06231B064C38D -->
