xowiki::FormPage instproc set_form_data (public)
<instance of xowiki::FormPage> set_form_data form_fields
Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-www-procs.tcl
Store the instance attributes or default values into the form via set_form_value. This function iterates over the provided form-fields and checks, if these are known fields in the current form. These known field names are defined via the method "field_names" that extracts these names from a form. If one wants to load all values from an FormPage into the provided form-fields, use method "load_values_into_form_fields" instead.
- Parameters:
- form_fields (required)
- Testcases:
- create_form_with_form_instance