---
title: fields
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfactionresetform/fields
---

# fields

Returns an array of fields associated with the reset action.

## Declaration

```swift
var fields: [String]? { get set }
```

## Return Value

Return Value An array of NSString objects that corresponds to the fieldNames property of widget annotations (such as PDFAnnotationButtonWidget) on the PDF page. This method can return NULL.

## See Also

### Related Documentation

- [PDFActionResetForm](pdfkit/pdfactionresetform.md)
