#set $Response.ContentType = "text/html"

# WebMacro "standalone" example!

$hello and $Form.other

If you have "var=whatever" in the query string of your URL, the value of whatever should appear here: $Form.var

Today is $Today

Number is $Number

Here is a list of your stuff (in the "stuff" form variable)

#if ($FormList.stuff) { #foreach $thing in $FormList.stuff {
- $thing } }

Here is a list of your colors (in the "color" form variable)

#if ($FormList.color) { #foreach $thing in $FormList.color {
- $thing } }

other:
var:
apple:
banana:
cherry:
Select colors:
#if ($Form.die) #begin $undefinedVariable #end