<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotationKey/widgetValue",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:@PDFAnnotationKeyWidgetValue"
  },
  "title" : "widgetValue"
}
-->

# widgetValue

The widget’s value, typically for text and choice widgets.

```
static let widgetValue: PDFAnnotationKey
```

## Discussion

For radio button or checkbox widgets, the value for this key is typically `Off` if the button isn’t in a selected state; otherwise, [`buttonWidgetStateString`](/documentation/PDFKit/PDFAnnotation/buttonWidgetStateString).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)