Forum OpenACS Q&A: Response to Multiple User Inputs

Collapse
Posted by Jeff Davis on
Roger, you do as many variables as you want (I stopped at 4 since
I get tired of typing).

x:rownum is the index of the element of the list and x:item is the
value of the element.  the list tag just iterates over the elements
of the named list...

var.@x:rownum@ is not an array, it is just the name of the variable passed
to the next form.  The actual array is created by ad_page_contract.

You should read /doc/acs-templating/ and /api-doc/proc-view?proc=ad_page_contract
on your local install (or at dev.arsdigita.com if you local install
is broken for some reason).

Oh, and you did not type what I sent...
it is:

set x [list a b c d]

(the list command after the [)