---
name: "HTMLDocument.FormType"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTMLDocument.FormType"
---

# HTMLDocument.FormType(3kaya)

The method used by a form

## NAME

HTMLDocument::FormType - The method used by a form

## SYNOPSIS

**HTMLDocument::FormType\<** **\>**

-

  \=  **FormGet(****)**

-

  \|  **FormPost(****)**

-

  \|  **FormPostUpload(****)**

## DESCRIPTION

The method used by a form to submit data. **FormPost**  uses the **application/x-www-form-urlencoded**  content type, whereas **FormPostUpload**  uses **multipart/form-data**

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**WebCommon.allowFileUploads (3kaya)**

**HTMLDocument.addRemoteForm (3kaya)**
