---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/resetformaction
---

# ResetFormAction

## Overview

`ResetFormAction` is a type in Aspose.PDF FOSS for Go.

ResetFormAction resets named form fields to their /DV defaults.

This type declares 3 methods for ResetFormAction objects in Go programs.
Available methods include: `ActionType`, `FieldNames`, `SetFieldNames`.
Public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

## Methods

| Signature | Description |
|-----------|-------------|
| `ActionType()` → `ActionType` | Returns the action type. |
| `FieldNames()` → `[]string` | FieldNames returns a copy of the field-name list. |
| `SetFieldNames(f: []string)` | SetFieldNames replaces the field-name list. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)