Lists all the text and/or math variables which have been set earlier on a page.
[listvariables options]Variable Tags[/listvariables][listvariables]
[index],[name],[value]
[/listvariables]
[listvariables type=text]
[index],[name],[value]
[/listvariables]
[listvariables type=math&name=fred]
[index],[name],[value]
[/listvariables]
Parameter | Description |
---|---|
Name | (Optional) The name of the variable to list. |
Exact | (Optional) T(rue) or F(alse) whether to exactly match the name of the variable or match any name containing the "name" value. (Default value is true.) |
Type | (Optional) Text or Math. Default is to list variables of both types, but if you specify Text then only Text variables will be listed, and if you specify Math then only Math variables will be listed. |
Tag | Description |
---|---|
[name] | The name of the variable. |
[value] | The value associated with the variable. |
[index] | A number from 1 to the total number of variables, indicating this field's index position in the list |
[secure] | Displays "T" if the variable is secure, "F" otherwise. |
[break] | From version 8.1, if the [listvariables] context sees the [break] tag while executing a loop, it will stop looping, once it finishes the current loop. Thus the [break] tag should only appear in a [showif] statement that is evaluated at the end (bottom) of the loop. |
DOWNLOAD WEBDNA NOW!
WebDNA applications...
WebDNA reference...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA ModulesA list of the currently available modules...
Tips and TricksA list of user-submitted tips ...
F.A.QA compilation of some user's questions...
There is hardly a website that doesn't at some point need to send an email...
[authenticate]WebDNA provides a few options for password protecting your pages...
[formvariables]Lists all the form variables and parameters passed to the current page...
[getmimeheader]Displays a specific MIME header...
[showif][showif Comparison]Show This HTML[/showif]...
[listvariables]Lists all the text and/or math variables which have been set earlier on a page...