<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotation/widgetDefaultStringValue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFAnnotation(py)widgetDefaultStringValue"
  },
  "title" : "widgetDefaultStringValue"
}
-->

# widgetDefaultStringValue

The string value that the widget reverts to when performing a reset form action.

```
var widgetDefaultStringValue: String? { get set }
```

## Discussion

For text and choice widgets, this property specifies the string value that a reset form action sets on a widget.

For radio buttons and checkboxes, set this property to `Off` if the desired default is for the button to be in an unselected state; otherwise, set it to the [`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)