Posting Data
WML enables users to transcode variable data and then pass this data to a remote URL. To perform this functionality, users may use the POSTFIELD element, in conjunction with the GO element.
The POSTFIELD Element (Chapters 5 and 15)
This element defines values that can be passed to a remote server.
Syntax
The following presents the syntax of the POSTFIELD element:
<go method="post" href="URL"> <postfield name="label" value="variable"/> </go>
Attributes
Table A.11 presents the attributes of the POSTFIELD element.
Attribute | Required | Description |
---|---|---|
name | Yes | Specifies the label that identifies the field |
value | Yes | Specifies the value for a variable |
Get WAP 2.0 Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.