Index: openacs-4/packages/acs-core-docs/www/form-builder.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/form-builder.html,v diff -u -r1.30.2.7 -r1.30.2.8 --- openacs-4/packages/acs-core-docs/www/form-builder.html 9 Jun 2016 13:03:11 -0000 1.30.2.7 +++ openacs-4/packages/acs-core-docs/www/form-builder.html 10 Jun 2016 07:35:08 -0000 1.30.2.8 @@ -6,7 +6,7 @@ adaptable UI. Error handling includes inline error reporting, and is customizable. However, ad_form can be tricky to use. In addition to this document, the ad_form api - documentation is helpful.

Multi-part Elements

Some elements have more than one choice, or can submit more than one value.

SELECT elements

  1. Creating the form element. Populate a list of lists with values for the option list.

    set foo_options [db_list_of_lists foo_option_list "
    + documentation is helpful.

Multi-part Elements

Some elements have more than one choice, or can submit more than one value.

SELECT elements

  1. Creating the form element. Populate a list of lists with values for the option list.

    set foo_options [db_list_of_lists foo_option_list "
         select foo,
                foo_id
           from foos
    @@ -51,5 +51,5 @@
         ns_set print $mypage
     }
         

Tips for form widgets

Here are some tips for dealing with some of the form widgets:

Current widget

Common Errors

Here are some common errors and what to do when you - encounter them:

Error when selecting values

This generally happens when there is an error in your + encounter them:

Error when selecting values

This generally happens when there is an error in your query.

View comments on this page at openacs.org