TAG:  postfield

postfield
 
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.
 
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.
 
This is a self-closing tag.
 
Nested Tags:  None
 
Attributes
 
class
The optional class core attribute is used to assign one or more classes to the element. Multiple classes are separated by white space. The class name is case sensitive (i.e., Stocks and stocks are not the same).
 
id
The optional id core attribute is used to assign a unique name to a tag. The name must be unique to the entire deck and not just unique to a card. The first character of the name can be a letter or the underscore. The remaining characters can be any combination of letters, numbers, or underscores.
 
name
The mandatory name attribute is part of the name/value pair. It is a string that is the name of the variable that will be assigned the value set by the value attribute.
 
value
The mandatory value attribute is part of the name/value pair. It is a string that is the value of the variable named in the name attribute.
 
Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card94">
<p>
Click accept to submit product
<do type="accept">
   <go href="/dgproducts/sales" method="post">
      <postfield name="ProductName" value="dgReport Web Edition" />
      <postfield name="ProductCost" value="250.00" />
   </go>
</do>
</p>
</card>
</wml>


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information