GO Tag
The <go> task represents the action of going to a new card.
- The content for the
<go> tag is optional.
- The
<go> tag can contain <postfield> or <setvar> tag.
Where to go is specified with the href attribute.
For example,
<go href="someurl" method="method">
... <postfield> ...
... <setvar> ...
</go>
href: It is required and is the URL of the new card.
The URL usually cannot exceed 255 characters in length.
method: The optional method attribute dictates the HTTP submission method.
There are only two permitted values:
post: A post submission includes the data with the submission.
The encoded form input is sent via stdin.
get: A get submission appends the data as a query to the URL.
The encoded form input in the environment variable QUERY_STRING.
POSTFIELD Tag
The <postfield> tag is used to set a name/value pair that can be transmitted to an origin server (source of the request) during a URL request.
The name is set by the name attribute and must be a valid WML variable name.
The value is set by the value attribute.
For example,
<postfield name="somename" value="somevalue"/>
A <go> element can contain one or more <postfield> elements.
If the destination of a <go> element is a card within the same deck, all of the <postfield> elements will be ignored.