Submit

Submit

in

The submit element is used to submit information to the origin web server and then transition to the document sent back in the response. Unlike the goto tag, it lets you submit a list of variables to the document server via an HTTP GET or POST request. The fetchtimeout attribute specifies the timeout for fetches; it must be specified with the appropriate time units. The maxage attribute tells the platform the maximum acceptable age, in seconds, of cached documents. Maxstale tells the platform the maximum acceptable staleness, in seconds, of expired cached documents. Next indicates the URI reference. Expr is like the next attribute, except that the URI reference is dynamically determined by evaluating the given ECMAScript expression. Fetchaudio is the URI of the audio clip to play while the fetch is being done. Method is the request method to get or post. Enctype is the attribute that specifies the HTTP POST encoding format. The other permissible choice is “multipart/form-data” which is the encoding method used by the platform when binary data is being submitted. The namelist is the list of variables to submit. The default is to submit no variables. If a namelist is supplied, it may contain individual variable references that are submitted with the same qualification used in the namelist.

Related links

Related terms

for "Submit"

Search Glossary

Term of the Day

A method for submitting data to a web server and a part of the HTTP protocol. This method is typically used instead of GET when the submission is expected to change resources on the server or cause side effects.
See also: HTTP GET