Forum OpenACS Q&A: Similar functionality to [ns_conn query] but for forms?

I am looking for a statement that has similar functionality to
[ns_conn query] but is used with forms.

In more depth: I want to retrieve the variables that are submitted by
a form and not via url.


set_the_usual_form_variables abstracts that process (it also works for URL variables).  The code is in {acsroot}/tcl/ad-utilities.tcl.preload.

If it should be possible to call the page without passing in any form variables, you should use:

set_the_usual_form_variables 0

Related commands are export_form_vars, export_url_vars, export_entire_form_as_url_vars, export_entire_form.