export_form_vars

EveAndersson.com : API Browser : export_form_vars

export_form_vars

export_form_vars [ -sign ] [ args... ]
Defined in packages/acs-core/utilities-procs.tcl

Exports a number of variables as hidden input fields in a form. Specify a list of variable names. The proc will reach up in the caller's name space to grab the value of the variables. Variables that are not defined are silently ignored. You can append :multiple to the name of a variable. In this case, the value will be treated as a list, and each of the elements output separately.

Example usage: [export_form_vars -sign foo bar:multiple baz]

Switches:
-sign (boolean) - If this flag is set, all the variables output will be signed using ad_sign. These variables should then be verified using the :verify flag to ad_page_contract, which in turn uses ad_verify_signature. This ensures that the value hasn't been tampered with at the user's end.
[ show source ]

Show another procedure:

eve@eveandersson.com