decorative banner

Using variables


    Variables make it possible to process data from users and pass data between elements in a deck. You set variables using the setvar element. The postfield element is similar to a variable in that it specifies a field name and value for transmission to a server during a URL request. (See Using tasks.)

To set a variable or postfield element:

  1. Drag the Setvar icon or Postfield icon from the WML Elements set in the Objects palette into the document window. Release the mouse button when the pointer is over the colored area of a go, prev, or refresh element.
  2. In the Inspector, specify a name and value for the variable or postfield element.