<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebPage/FormInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "s:6WebKit0A4PageC8FormInfoV"
  },
  "title" : "WebPage.FormInfo"
}
-->

# WebPage.FormInfo

A type that contains information about a form submission from a webpage.

```
@MainActor struct FormInfo
```

## Topics

### Instance Properties

[`var formValues: [String : String]`](/documentation/WebKit/WebPage/FormInfo/formValues)

A dictionary of the form values that will be submitted during the navigation.

[`var httpMethod: String`](/documentation/WebKit/WebPage/FormInfo/httpMethod)

The HTTP method used to submit the form; generally either @“GET” or @“POST”.

[`var sourceFrame: WebPage.FrameInfo`](/documentation/WebKit/WebPage/FormInfo/sourceFrame)

The frame that caused the form submission.

[`var submissionURL: URL`](/documentation/WebKit/WebPage/FormInfo/submissionURL)

The URL that the frame is being navigated to.

[`var targetFrame: WebPage.FrameInfo`](/documentation/WebKit/WebPage/FormInfo/targetFrame)

The frame where the form is being submitted will cause a navigation.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)