submit

<submit>

It is used to navigate from a VoiceXML document to a server side scripting file like ASP, Perl, JSP, etc. It is used instead of goto statement when the interpreter passes control from one form to another with the inclusion of variables to be passed to the server. 

 Attributes:

expr

An ECMAScript expression which evaluates to the URI of the reference.

enctype

MIME encoding type of the submitted document. The default value is application/ x-www-form-urlencoded.

fetchhint

This can be either ‘safe’ or ‘prefetch’. Prefetch tells the interpreter to retrieve the file when the document is executed while safe indicates that the file can be downloaded only while executing this element.

fetchtimeout

 Interval of time to wait for before throwing an “error.badfetch” event. It is platform dependent.

maxage

An integer value that indicates the maximum allowable age of the fetched documents in seconds. If the cached copy is older than the maxage value then a new copy will be fetched.

maxstale

An integer value which is added to the maxage and the resultant integer value indicates the maximum value in seconds, a stale content of the element can have after which it becomes invalid and can no longer be used.

method

The request method either post or get.

namelist

List of variables to submit.

next

URI of the reference.

parent

block, catch, error, filled, help, if, noinput, nomatch

children

None.