What is a form method?

The method attribute of an HTML form sets which HTTP method the browser uses to send the form: GET, the default, or POST.

The attribute goes on the form tag and takes "get", "post" or "dialog". With get, the fields are added to the action address as a query string. With post, they are sent in the body of the request. The value dialog only applies to a form inside a dialog element and closes the dialog without sending anything. The value is not case sensitive.

If you leave the attribute out, the browser uses GET. A contact form then appears to do nothing: the page reloads with the visitor's message in the address bar and no submission is stored.

Any form that sends data to a form backend needs method="POST". It is one of the two attributes, with action, that connect a form to FormTango.

html
<form action="https://formtango.com/f/YOUR_FORM_ID" method="POST">

Related