[html::author "Brent Welch"]
[mypage::header "Templates and State"]
Sample Form
<p>

[html::row "General Info" ""]
[html::row "Exclusive Choice" \
    [html::radioSet somevariable { } {
	orange Orange
	blue Blue
	green Green
	"violet red" "Violet Red"
    }]]
[html::row "Selection" \
    [html::select mutli 1 {
	"" "Please Select"
	orange Orange
	blue Blue
	green Green
	"violet red" "Violet Red"
    }]]
[html::row "Multiple Choice " \
    [html::checkSet check " " {
	orange Orange
	blue Blue
	green Green
	"violet red" "Violet Red"
    }]]

Hit this page with form data:

<p>
When a template is processed, information about the CGI values
is available via the ncgi module,
and the html module used to create the above form
automatically initializes the form elements to match the CGI values.
<p>
CGI Values
[html::tableFromList [ncgi::nvlist] "border=1"]
<p>
Environment
[html::tableFromArray ::env "border=1" *]

[mypage::footer]
