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

# SubmitFormAction

## Overview

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

SubmitFormAction submits form field values to a URL.

This type declares 7 methods for SubmitFormAction objects in Go programs.
Available methods include: `ActionType`, `FieldNames`, `Flags`, `SetFieldNames`, `SetFlags`, `SetURL`, `URL`.
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. |
| `URL()` → `string` | Returns the url. |
| `Flags()` → `SubmitFormFlags` | Returns the flags. |
| `SetURL(u: string)` | Sets the url value. |
| `SetFlags(f: SubmitFormFlags)` | Sets the flags value. |
| `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/)