Alertra Script Language 1.9

form

Sets the value of a form variable to the given expression. Form variables are sent with the next HTTP/S command and then cleared. Generally you should use the "encode" option with the http command to insure that the variable names and values are properly encoded for transport.

usage: form [target] = [source]

parameters:

req name type description
Y target variable The name of the form variable
Y source expression The value to place in the form variable

examples

form txtState = "New York"

Sets the value of the form variable "txtState" to "New York".

form "0_userName" = "guest"

Sets the value of the form variable "0_userName" to "guest". The form variable name is surrounded by quotes because it does not comply with ASL variable naming standards.


Alertra Script Language: Language Reference