template::form::export (public, deprecated)
template::form::export
Defined in packages/acs-templating/tcl/form-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Generates hidden input tags for all values in a form submission. Typically used to create a confirmation page following an initial submission. DEPRECATED: this proc has been superseded by export_vars, which also offers additional features.
- Returns:
- A string containing hidden input tags for inclusion in a form.
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc template::form::export set form [ns_getform] if { $form eq "" } { return "" } set export_data "" for { set i 0 } { $i < [ns_set size $form] } { incr i } { set key [ns_set key $form $i] set value [ns_set value $form $i] append export_data " <div><input type=\"hidden\" name=\"$key\" value=\"[ns_quotehtml $value]\"></div>" } return $export_dataXQL Not present: Generic, PostgreSQL, Oracle